Application programming interfaces for structuring distributed systems

ABSTRACT

A system and environment to enable entities to utilize delivery services provided by a service provider are described herein. In some examples, the service provider exposes the delivery services to a computing device associated with a merchant, buyer, and/or others using one or more Applicant Programming Interfaces (APIs) provided by the service provider. The one or more APIs may enable merchants and/or others to automatically integrate the delivery services into technologies used by the merchants and/or others in order to facilitate delivery of items that are offered for acquisition by the merchants.

TECHNICAL FIELD

Buyers often use websites and other technologies to purchase items frommerchants for delivery to the buyers. In some instances, a deliverysystem or service may facilitate deliveries of goods and servicesoffered by a merchant. For example, a delivery service may provide anonline site that identifies items from multiple merchants that areavailable for delivery. A buyer may navigate to the online site, selectan item from a merchant, specify an address for delivery, and purchasethe item for delivery to the buyer's address. The delivery service mayutilize various technologies to fulfill delivery of the item to thebuyer. In particular, the delivery service may communicate with anelectronic device associated with a merchant and/or an electronic deviceassociated with a customer to deliver the item. Customers also usetechnologies to interact with merchants, for example to makereservations to purchase items or otherwise reserve their time orservice. Similarly, a reservation service may facilitate reservation ofa merchant's location for a particular service. However, in cases wherethe merchant is associated with several of these delivery, reservation,and other third-party services, the merchant has to manually control andcoordinate information pouring in from different and disconnectedsources and ultimately the simplicity of operation promised by the thirdparty services is rendered useless. Further, the association of themerchant's interface with third party services may disrupt othertechnologies that are employed by the merchant to run their businesses.

BRIEF DESCRIPTION OF THE DRAWINGS

The detailed description is set forth with reference to the accompanyingfigures, in which the left-most digit of a reference number identifiesthe figure in which the reference number first appears. The use of thesame reference numbers in the same or different figures indicatessimilar or identical items or features.

FIG. 1 illustrates an example architecture in which the techniquesdiscussed herein may be implemented.

FIG. 2 illustrates example details of a service provider, whichfacilitates communication with and between multiple services andmerchant portals.

FIG. 3 illustrates example details of a merchant device, which receivesdata from multiple, different and distributed services through theservice provider.

FIG. 4 illustrates example details of a user or consumer device, whichhosts or accesses, in some implementations, web or native third partyservices.

FIG. 5 illustrates an example process to expose one or more APIs toenable entities to use delivery services provided by a service provider.

FIG. 6 illustrates an example process to communicate with a serviceprovider via one or more APIs to use delivery services provided by theservice provider.

FIG. 7 illustrates an example process to notify a third party serviceregarding a delivery of an item.

FIG. 8 illustrates an example process of communicating via one or moreAPIs exposed by a service provider to provide status updates regardingorders.

FIG. 9 illustrates an example data flow diagram indicating the processof harmonizing menu items across third party services, and fordynamically modifying icons of a user interface based on contextualdata, and harmonizing menu items across different services.

FIG. 10 illustrates an example data flow diagram indicating the processof harmonizing reservations and allocating unfilled or overlappingreservations originating from multiple third party services.

DETAILED DESCRIPTION

The technology described herein provides a system and environment toenable entities to structure different third party services, such asapplications for delivery services, application for reservationservices, applications for third party service services, and so on, viaa service provider, such that the entities can communicate withdifferent services without any complicated coding or modifications toentities' source code. In some examples, the service provider exposes aconsensus service to a computing device associated with a merchant,buyer, and/or others using one or more Applicant Programming Interfaces(APIs) provided by the service provider. The service provider alsoexposes the consensus service to a computing device associated with auser, consumer, or developers of third party applications using theAPIs. In some instances, the service provider may be a third party thatoperates remotely and/or independently from the merchant, buyer, and/orothers. The one or more APIs may enable merchants and/or others toautomatically integrate the consensus service into technologies used bythe merchants and/or others in order to facilitate several tasks, suchas delivery of items that are offered for acquisition by the merchants,reservation of restaurants for both in-dining or pick up, generation ofmenus, and so on. For example, the one or more APIs to the consensusservice may allow entities to automatically access information regardingdelivery of items by a plurality of delivery services (e.g., couriercosts, estimated delivery times, etc.), facilitate delivery of items bythe delivery service, and use a variety of other functionalitiesprovided by the service provider through the consensus service, such asordering the preparation of items, scheduling delivery and preparationfrom the kitchen, scheduling reservations and managing content comingfrom and going to third party services, and so on.

The implementations are first described with reference to delivery orthird party service services. In many examples, the service provider mayoperate a network of third party service devices to deliver items tobuyers and others. Each of the third party service devices may implementa Global Positioning System (GPS) receiver or other location sensor toprovide location information to the service provider. The serviceprovider may track the locations of the third party service devices toselect a third party service device for a delivery, send updatesregarding delivery of items, or otherwise facilitate delivery of itemsby third party services. Additionally, or alternatively, the serviceprovider may operate in cooperation with a plurality of merchantdevices. Each of the merchant devices may implement a Global PositioningSystem (GPS) receiver or other location sensor to provide locationinformation to the service provider. The service provider may use thelocations of the merchant devices to facilitate delivery of itemsoffered for acquisition by the merchants and perform otherfunctionality. Additionally or alternatively, the service provider mayalso communicate with a plurality of third party service services, whichmay in turn implement third party service logic and system to receiveorders from customers for goods and services offered by the merchant. Asdescribed above, the merchants, customers, and third party services andsystems may interact with each other through APIs of the serviceprovider's consensus system.

The consensus system then acts as a hub, for example, an order hub toexpose an API for integrating third party food ordering, delivery orpreparation services, for centralized ordering at the point-of-salemanagement systems. The consensus system can update the preparation ordelivery time across multiple services coming in to automaticallycalculate new order analytics, such as preparation time, delivery time,order of preparation and so on. The consensus system, in oneimplementation, can leverage APIs to manage inventory information andprovide order information. As one example of the techniques discussedherein, if the merchant has received an order of ten burgers from athird party delivery service and another order of five burgers from asecond third party delivery service, the consensus system can updateavailability, preparation, and delivery times of items in real-time, forthe first and second third party delivery service and any other thirdparty delivery service. The consensus system can also predict andforecast employee staffing for ordered items so that the merchant hasadequate staff and inventory based on historical orders from variousservices. The consensus system can also direct auto replenishment ofinventory/ingredients, or auto-reorder from vendor, based on status oforders coming in through multiple third party services.

The consensus system can also act as a hub for reservations throughutilization of one or more APIs for integrating third party reservationservices, for centralized reservations, waitlist and schedulingmanagement. The consensus system can communicate with other third partyreservation services to provide a central reservation system and dynamicallocation/reallocation of tables and preferred seating, or even pickupin case dining in is not available. The consensus system monitors andanalyzes demand for seating time and accordingly optimizes staffing andingredients to support diners with preferred servers/chefs forparticular reservation or desired menu items. Certain thresholds may beset for the number of items, or the number of customized reservationsallowed during a shift, and so on. Further, the consensus system canassign a certain quota of seating for each service based on usagemetrics, and transfer a user from one service to another via the APIs tomake reservations in case one service cannot furnish the user's request,irrespective of whether the user is subscribed to the other service.Furthermore, the consensus system can be the hub for allocation of thereserved seats and their placement in a manner that maps to the customerprofiles and merchant specifications. For example, a frequently visitingcustomer may be seated in the best region of the restaurant. Theconsensus system also integrates with other verticals supported by theservice provider. For example, the consensus system integrates withonboarding component such that when a new customer reserves atrestaurants, the consensus system can create a customer profile to offerone of the many third party services that best suits the customer'sprofile. The consensus system can also recommend restaurants based onaggregated reviews from all the services, such as by weight or relevanceof each third party service.

The consensus system can also be a hub, such as a menu hub, for contentaggregation and analysis. In such implementations, the consensus systemis a unified manger for dynamic pricing based on how users are orderingon different menus from third party services and accordingly to optimizesales. The consensus system can drive a single menu update that can beapplied across all third-party services to harmonize content on suchservices. The consensus system can also drive multiple updates orservice-specific update to take into account the usage metrics acrossthe third party services; for example, the order of menu content can beconfigured according to popularity or usage of the users across allthird party services, on a particular service, and even within theservice, the usage within a particular region. For instance, the paymentservice can reorder the menu based on the order popularity or evenbehavior of users across different delivery services. For example, sincein cases where the payment service may not have access to cart levelinformation from a third party service, the payment service may capturesuch information once the order is placed at the kitchen. In thismanner, the payment service can utilize the exposed APIs to see how auser navigates third party service menus and what items users tend toadd but do not checkout with, and then adjust the global menu for themerchant (or their specific menu for a merchant and third party service)accordingly.

As one example of the techniques discussed herein, an application mayexecute on a computing device associated with a merchant, buyer, and/orothers. The application may provide a user interface to enable anindividual (e.g., merchant, buyer, etc.) to perform an action, forexample place an order for an item offered for acquisition by themerchant, reserve a seat in a restaurant, display content, provide thirdparty service update, and so on. For example, in case of a deliveryservice, through the user interface, the individual may select an itemfor acquisition and request that the item be delivered. For example, theindividual may place an item in an electronic shopping cart for purchaseand indicate an interest in having the item delivered. In someinstances, the individual may specify a location of delivery, a locationof pick-up, a requested time of pick-up, a number of items beingacquired, a size of the item, whether or not the item is associated witha predetermined category, a weight of the item, and so on. In otherinstances, such information may be automatically determined, obtainedfrom a user profile or merchant profile, and so on.

Upon determining that the individual has an interest in having the itemdelivered, the application, such as for a third party delivery service,may communicate with a third party service provider using an APIprovided by the service provider to facilitate delivery of the item viathe consensus service associated with the service provider. For example,the application may send a request for a cost of delivery of the item,an estimated amount of delivery time for the item, and so on. The thirdparty service may generate a delivery proposal for using an associateddelivery service to deliver the item to the buyer's location, forexample to a service provider via an API for consensus service. Thedelivery proposal may include the cost of delivery, the estimated amountof delivery time, and/or other information regarding delivery of theitem. The service provider, via the consensus service, may send thedelivery proposal to the application for acceptance or rejection. Insome instances, the application presents the information to theindividual interacting with the user interface and the individual mayprovide input to accept or reject the proposal. In other instances, theapplication may operate according to one or more criteria toautomatically accept or reject the delivery proposal (e.g., accept ifthe cost is below a threshold, accept if the estimated delivery time isbelow a threshold amount of time, etc.). In any event, the applicationmay use the API to send an indication of acceptance or rejection of thedelivery proposal to the third party service.

When the third party service is notified about an acceptance of adelivery proposal, the service provider may perform processing to selecta courier for the delivery. For example, the service provider may trackthe locations of multiple courier devices over time and select a courierthat satisfies one or more criteria, such as being within a particulardistance to a pick-up location, being available to make a delivery,being associated with a transport vehicle that is able to transport theitem, and so on. In some instances, the service provider may use acourier profile, user profile, merchant profile, or other information toselect the courier. The service provider may then send a communicationto the courier requesting that the courier obtain the item from anestablishment of the merchant and transport the item to the location ofdelivery. During delivery of the item, the service provider may receiveinformation from the courier and/or the merchant (e.g., locationinformation, confirmation that delivery was picked up, etc.) anddetermine a status of the delivery. The service provider may send thestatus of delivery to the application, a merchant device, a buyerdevice, and/or others, so that an individual may be informed of acurrent state of the delivery.

In many instances, the techniques and environments described hereinprovide one or more APIs to access consensus service provided by aservice provider, to support delivery services, reservation services,and content services. That is, the one or more APIs may provide entitieswith a flexible structure to integrate various third party services intotechnologies of the entities. As one example, a merchant may integratethird party services into a website or application operated by themerchant without creating additional components to implement the thirdparty services. By doing so, the website or application may operateaccording to a thinner implementation (e.g., with less components), incomparison to a website or application that incorporates such featuresdirectly into the website or application. This may result in relativelyfast implementation of the website or application. Further, thetechniques and environments may allow integration of third partyservices to be implemented across a large variety of contexts (e.g.,devices, platforms, etc.). Moreover, the techniques and environmentsprovide a flexible structure to modify the underlying technology, forexample the consensus service, used by the service provider to implementthe third party services. In other words, the underlying technology ofthe merchant platforms may be updated in a unified and/or simplifiedmanner, without requiring an update to technologies implemented bymerchants, buyers, and/or others. Additionally, the techniques andenvironments may allow the underlying technology used by the serviceprovider (e.g., including the algorithms, cost schemes, etc.) to bemaintained in a secure environment. Also, the data shared by themultiple third party services need not be exposed to the merchants andfurthermore, the service provider can create data controls and dataencapsulations based on the third party service, environment, location,time of the day, etc., which may be specific to a third party service ora relationship between the third party service and the merchantplatforms, such as terminals, applications, kitchen display systems,payment applications and so on.

Advantages of a centralized ordering system include better management oforders, scheduling of orders, and elimination of multiple tabletshanging around walls that list orders for each third party service. Withthe technology described herein, the merchant can install a singlekitchen display system capable of tracking orders coming from differentsources and managing the orders, the inventory and timing of the ordersin real-time or near-real time.

Advantages of a centralized restaurant system include better managementof reservations, tracking of reviews of the restaurants from multiplesources, and elimination of double-booking, under booking or overbookingof restaurants. Even though the description refers to restaurants as anexample use-case, it will be understood that the description can beextended to other use cases for reservations and appointments such assalons, hospitals, yoga studios, and so on. With the technologydescribed herein, the reservations can be optimized and seat allocationscan be assigned to third party reservation services in real-time, forexample based on filling capacity.

Advantages of a centralized content consensus system include bettermanagement of content, such as menu, prices, hours of operation, etc.,such that all third party services get the same update from the merchantat the same time. With the technology described herein, the content canbe harmonized across different third party services so that the prices,brand and look and feel of the merchant are consistently maintained. Theconsensus system can be a unified manger for dynamic pricing and bytracking order data, such as what and how much are users ordering ondifferent menus, the sales can be optimized. Alternatively, differentupdates can be pushed, in real-time or near real-time, to the thirdparty services to target different kind of audience, that is adjust menuprices across all menus based on availability/popularity. For example,by determining that the customers ordering on a first third partyservice order fast food early in the morning, the menu may be configuredto present fast food items on the list, in order of preparation time orpopularity, for example. Additionally or alternatively, the pricing ofthe items may be configured to map to the data analytics. In someimplementations, the payment flow may be modified once a merchantmodifies the item. For example, if a merchant decides to get rid of anitem (sometimes referred to as 86-ing an item) from their menu, but ifan order is already placed for the item in addition to other items, theconsensus system may modify the preparation and payment flow to excludethe nixed item such that the customer is either refunded or nevercharged for the item. In some implementations, the nixed item may bereplaced with another item, for example a similar item, an item of asimilar cost, a new offer, a discount, a notification to the customer,and so on.

Further, the technology herein can allow any third party service to beonboarded and integrated for delivery of items from merchants to buyers,or provide any other service without any configuration or exitingrelationship with the merchant, as the consensus system through its APIsis capable of interfacing with a variety of hardware and softwareplatforms by porting instructions and data without or littlemodifications to its source code. Through the interaction of computingdevices, mobile devices, and sensors, implementations herein can managean unpredictable sharing ecosystem in which a large number of entitiescan participate, to accommodate ever changing circumstances andconditions of the merchants, the buyers, the service region, the thirdparty services, hardware and software platforms, and the third partyservices themselves.

In various implementations, the consensus system acts as a centralserver, or a group of servers, capable of ingesting data from varioussources through APIs, porting instructions and data into a format thatis understood by various services, filtering the data to determinerelevance to various merchants and services, and using the analysis tostructure or restructure various merchant tasks, such as delivery,reservations, content aggregation, or content display.

Some implementations herein describe a bi-directional API or push-pullAPI, which means that the information travels in both directions and APIend points are associated with both the applications making thecommunication. However, some implementations may execute aunidirectional API such that the applications may only push theinformation or pull the information when requested.

This brief introduction is provided for the reader's convenience and isnot intended to limit the scope of the claims. Furthermore, thetechniques described above and below may be implemented in a number ofways and in a number of contexts. Several example implementations andcontexts are provided with reference to the following figures, asdescribed below in more detail. However, the following implementationsand contexts are but a few of many.

FIG. 1 illustrates an example architecture 100 in which the techniquesdiscussed herein may be implemented. The architecture 100 includes aservice provider 102 associated with a consensus system or application(hereinafter referred to as “consensus service”) that communicates withone or more users 104 (hereinafter “the user 104”) of applications suchas consensus service, buyers at merchant locations, third partyservices, and so on, one or more merchants 106 (hereinafter “themerchant 106”), one or more third party services 108 (hereinafter “thedelivery service 108,” “a courier service,” “reservation service 108,”“the content service” depending on the context, and collectivelyreferred to as third party services), one or more card payment networkcomputing devices 110, and/or one or more bank computing devices 112 toperform a variety of processing. The third party services may alsoinclude services offered by the service provider, for example fordelivery, reservation or content aggregation and management. In manyinstances, the service provider 102 may provide one or more ApplicantProgramming Interfaces (APIs) 114 to enable the user 104 and/or themerchant 106 to access the consensus service provided by the serviceprovider 102. The API can be implemented as a push API, pull API or acombination of both. Accordingly, each of the applications can create orshare API endpoints to receive or send updates or both. For example, thePush API enables sending of a push message to a web application a pushservice, sometimes asynchronously. An application server can send a pushmessage at any time, even when a web application or user agent isinactive. The push service ensures reliable and efficient delivery tothe user agent. Push messages are delivered to a Service worker thatruns in the origin of the web application, which can use the informationin the message to update local state or display a notification to theuser. The Pull API works on extracting data, for example based onscheduled jobs set to run at an interval. The system keeps polling thesource until certain conditions are met.

Further, in many instances the service provider 102 may facilitatetransactions between buyers (a first user) and sellers (a second user),which may include communicating with the one or more card paymentnetwork computing devices 110 and/or the one or more bank computingdevices 112. Each of the user 104, the merchant 106, and/or the thirdparty service 108 may be associated with a computing device. Forexample, the third party service may be executing on a user deviceassociated with the user 104 or even merchant device 106. Further, insome instances the environment 100 includes an additional serviceprovider (service provider 116) to communicate with the user 104 and/orthe merchant 106 to facilitate the acquisition of an item, as discussedin further detail below. As illustrated, any of the computing devices ofthe architecture 100 may communicate with each other via one or morenetworks 118.

A merchant may include any business or entity engaged in the offering ofgoods or services for acquisition by buyers in exchange for compensationreceived from the buyers. Actions attributed to a merchant may includeactions performed by employees or other agents of the merchant and,thus, no distinction is made herein between merchants and theiremployees unless specifically discussed. In addition, a buyer mayinclude any entity that acquires goods or services from a merchant, suchas by purchasing, renting, leasing, borrowing, licensing or the like.Hereinafter, goods and/or services may be referred to as items. An itemmay include a finished product, partially finished product, rawmaterial, and so on. Thus, a merchant and a buyer may interact with eachother to conduct a transaction in which the buyer acquires one or moreitems from a merchant, and in return, the buyer provides payment to themerchant.

A third party service, such as a delivery service, may include anyentity engaged in delivering an item. A third party service may obtainan item from a delivery pick-up location (e.g., a location of amerchant) and transport the item to a delivery drop-off location (e.g.,a location of a buyer). Some implementations herein providetechnological innovations that enable merchants to harmonize deliveryrequests (also referred to as orders) coming in from different deliveryportals 108. With such technology, the merchant is able to coordinateand synchronize orders in relation to inventory, time of orderplacement, the loyalty rating of the customer and so on.

A third party service, such as a restaurant management service, mayinclude any entity allowing reservations at their location, such as anonline or in-person reservation. The term reservation is also intendedto include appointment, in person dining, pick up, etc. A third partyservice may receive a request to make reservation at a merchantlocation. Some implementations herein provide technological innovationsthat enable merchants to harmonize reservation requests (also referredto as reservations) coming in from different reservation portals 108.With such technology, the merchant is able to coordinate and synchronizeorders in relation to seating availability, preferences of the diners,the time of the day, location, and items available on the menu, and thelike.

A third party service, such as a content aggregation service, mayinclude any entity engaged in delivering an item. A third party servicemay display content without any idea what another third party service isimplementing and with no knowledge of what their customers wish to seeespecially with respect to the merchant's store. Some implementationsherein provide technological innovations that enable merchants toharmonize content, such as menus, across different third party services108. With such technology, the merchant is able to coordinate andsynchronize menu and other content in relation to the profile of thethird party service, time of the day, location, and other suchspecifications. The menu or an update on the menu can be pushed as asingle update or notification on all third party services at the sametime. Alternatively or additionally, menus and other such content, forexample display of content, order of items, etc., can be configuredaccording to the relationship of the third party service with themerchant, the availability of items, time of the say, and other suchfactors.

As noted above, the service provider 102 may expose the one or more APIs114 of the consensus service to enable a computing device associatedwith the user 104 and/or the merchant 106 to access, harmonize,normalize, refactor, reconcile, and/or interface with third-partyservices provided by the service provider 102, such that the merchantsor user processes are structured in an optimal manner. For ease ofdescription in the example of FIG. 1, the computing device associatedwith the user 104 and/or the merchant 106 will be referred to as “theacquisition device.” In the example of FIG. 1, the acquisition devicecommunicates with the service provider 102 through the one or more APIs114 to facilitate an action, such as delivery of an item, seatreservation, menu update. The acquisition device displays variousinformation received from the service provider 102 regarding delivery ofthe item through an item acquisition interface 120. In this example, anacquisition device executes a delivery service 108-1 for delivery ofitem, such as pizza, while a delivery service 108-2 for delivery of anitem, such as a drink. In some cases, the acquisition device may bedifferent and the merchant may receive two separate delivery requestsfrom different third party services. While placing requests, the serviceprovider, using the consensus service 132, may determine order andtiming of the orders that were received. The consensus service 132,using for example machine learning models, determines when the ordersshould be placed, which items can be clubbed for preparation, and so on.The consensus service 132 schedules the order for a kitchen displaysystem (not shown) associated with the merchant. In this way, themerchant does not need to maintain multiple tablets corresponding toorders coming from different sources. A single tablet indicates thesource of order, timing, estimated time of delivery, and a new order ofpreparation, for example based on timing of orders, source, location,time of preparation etc. Similarly, for reservation requests, theconsensus service 132 creates a single list of reservations and how todistribute seating and reservations among users and merchants.Furthermore, the consensus service may interface with the parties tocommunicate progress of requests in real-time or near real-time.

For example, the acquisition device may communicate with the merchantsvia the service provider 102 through the one or more APIs 114 whileplacing an order with the merchant 106. In particular, an individual(the user 104 and/or the merchant 106) may place an item in an onlineshopping cart for purchase and indicate an interest in having the itemdelivered. In response, the acquisition device may send a request to theservice provider 102 via the one or more APIs 114 for informationregarding delivery, reservation, or content management. The serviceprovider 102 may communicate with the merchants or merchant inventorydatabase (local or remote) to generate a delivery proposal regardingdelivery of the item by delivery services associated with the serviceprovider 102 and send the delivery proposal, through API calls 134, tothe acquisition device. The acquisition device may display informationof the delivery proposal via the item acquisition interface 120(a) foracceptance or rejection. As illustrated in FIG. 1, an estimated amountof time to deliver the item and a delivery cost is presented at 122 inthe acquisition interface 120(a). The individual may accept the deliveryproposal and cause the order to be placed by selecting a button 124.

Further, the acquisition device may communicate with the serviceprovider 102 via the one or more APIs 114 to obtain status updatesregarding a delivery of the item ordered by another third party serviceor another user. In such instances, the service provider 102 may monitora location of a courier assigned to deliver the item (e.g., the thirdparty service 108), or obtain such information from a third partyservice associated with the courier, obtain information from a merchantthat is selling the item (e.g., the merchant 106), and/or obtain otherinformation. The service provider 102 may determine a status of deliveryof the item and send the status of delivery to the acquisition device.The status of delivery may be displayed via the item acquisitioninterface 120(b). The status may be determined and/or provided to theacquisition device upon request from the acquisition device (e.g., inresponse to a message sent through the one or more APIs 114),periodically, and/or upon the occurrence of another event. Asillustrated in FIG. 1, the item acquisition interface 120(b) may includea button 126 which, when selected, displays a map that shows a currentlocation of the assigned third party service device, a route traveled bythe assigned third party service device, a route yet to be taken by theassigned third party service device to pick up or deliver the item, andso on.

In the example of FIG. 1, a delivery service information request 128represents communications that are sent by the acquisition device to theservice provider 102 via the one or more APIs 114, while deliveryservice information 130 represents communications sent back to theacquisition device from the service provider 102, such as consensuscalls to indicate how orders are sequenced, how contemporaneous orderrequests are handled, fraudulent requests, the delivery times, theseating chart, and other information for a merchant to schedule andorganize the operations. The delivery service information request 128may include a request for information regarding delivery of an item(e.g., cost estimate, delivery time estimate, etc.), an indication ofacceptance/rejection of a delivery proposal, a request for informationregarding a delivery status, and so on. The delivery service information130 may include a delivery proposal, information regarding a deliverystatus of an item, and so on.

In some instances, the acquisition device may operate in cooperationwith the service provider 116. The service provider 116, and associatedapplication such as consensus service, may provide resources thatoperate remotely and/or independently from the acquisition device and/orthe service provider 102. In one example, the service provider 116 maybe associated with the merchant 106 to manage purchases, inventory,and/or perform other processing. The service provider 116 may provide anonline site, operate in cooperation with a local application on theacquisition device (e.g., desktop application, mobile application,etc.), and so on. To illustrate, the service provider 116 may provide anonline website for a pizza restaurant and all the delivery services fromwhere the customer can order, so that customers (and/or the pizzamerchant) may place orders for pizza with the pizza merchant. As such,communications that are sent and/or received by the acquisition deviceto the service provider 102 may be routed through the service provider116. In other words, the service provider 116 may act as an intermediarybetween the acquisition device and the service provider 102, and alsobetween the merchant and third party services. This kind of architectureallows data to be selectively are privately shared between parties suchthat only data relevant to the parties is revealed. The service provider116 may communicate with the service provider 102 via the one or moreAPIs 114. This may provide a seamless integration of the deliveryservices offered by the service provider 102 into technologiesassociated with the merchant 106. In returning to the pizza restaurantillustration above, the website for the pizza restaurant may integratethe delivery services of the service provider 102 by communicating withthe service provider 102 via the one or more APIs 114. In someinstances, this may occur without the customer knowing that the pizzarestaurant is using such delivery services (e.g., so that it appearsthat delivery is being provided by the merchant 106). In otherinstances, information may be communicated to the customer indicatingthat the delivery services are being provided by the service provider102 (e.g., a pop-up window indicating that the pizza will be deliveredby Company X). Although many functions are described as being performedby the service provider 116, any of these functions may be performed bythe service provider 102.

The service provider 102 may additionally, or alternatively, performprocessing to manage third party services. For instance, the serviceprovider 102 may communicate with the third party service 108 to track alocation of the third party service 108, request delivery of an item,receive status information regarding a delivery (e.g., confirmation fromthe third party service that an item was picked up or dropped off), andso on. In the example environment 100, the service provider 102 receivesan indication of acceptance of a delivery proposal or a recommendationproposal from the acquisition device and selects a third party serviceto deliver the item. The service provider 102 may identify locations ofmultiple third party services and select a third party service (thethird party service 108 in this case) to transport the item to adelivery location. The service provider 102 may then send a deliveryrequest 134 to the third party service 108 requesting delivery of theitem and, in return, the third party service 108 may send an indicationof acceptance or rejection of the delivery request.

In some instances, the service provider 102 may cause payments to bemade to any party within the environment 100. For example, the serviceprovider 102 may cause funds from an account associated with the user104 to be transferred to an account associated with the merchant 106 aspayment for an item. Further, funds may be transferred from an accountassociated with the service provider 102, the merchant 106, and/or theuser 104 to an account associated with the third party service 108 fordelivering the item. Payment may additionally be made to the serviceprovider 102 for facilitating the transaction.

As noted above, the service provider 102 may communicate with the one ormore card payment network computing devices 110 to conduct a transactionelectronically. The one or more card payment network computing devices110 may be associated with a card payment network (e.g., MasterCard®,VISA®, etc.). The service provider 102 may also communicate with the oneor more bank computing devices 112 of one or more banks. For example,the service provider 102 may communicate with an acquiring bank, anissuing bank, and/or a bank maintaining user accounts for electronicpayments.

An acquiring bank may be a registered member of a card association(e.g., Visa®, MasterCard®, etc.), and may be part of a card paymentnetwork. An issuing bank may issue payment cards to users, and may payacquiring banks for purchases made by cardholders to which the issuingbank has issued a payment card. Accordingly, in some examples, thecomputing device(s) of an acquiring bank may be included in a cardpayment network and may communicate with the computing devices of acard-issuing bank to obtain payment. Further, in some examples, a usermay use a debit card instead of a credit card, in which case, the bankcomputing device(s) of a bank corresponding to the debit card mayreceive communications regarding a transaction in which the user isparticipating. Additionally, there may be computing devices of otherfinancial institutions involved in some types of transactions or inalternative system architectures, and thus, the foregoing are merelyseveral examples for discussion purposes.

The one or more card payment network computing devices 110 and/or theone or more bank computing devices 112 may be implemented as one or morecomputing devices, such as servers, laptop computers, desktop computers,and so on. The one or more computing devices may be configured in acluster, a farm, a data center, a cloud computing environment, or acombination thereof. In one example, the one or more computing devicesprovide cloud computing resources, including computational resources,storage resources, and the like.

As noted above, the computing devices of the architecture 100 maycommunicate via the one or more networks 118. The one or more networks118 may be any type of network, such as a local area network or a widearea network, such as the Internet, and may include a wireless network,such as a cellular network, a local wireless network, such as Wi-Fiand/or close-range wireless communications, such as Bluetooth® andBluetooth® low energy, a wired network, or any other such network, orany combination thereof. Accordingly, the one or more networks 118 mayinclude both wired and/or wireless communication technologies, includingBluetooth®, Bluetooth® low energy, Wi-Fi, and cellular communicationtechnologies, as well as wired or fiber optic technologies. Componentsused for such communications can depend at least in part upon the typeof network, the environment selected, or both. Consequently, one or morecomputing devices of the architecture 100 may communicatively couple tothe one or more networks 118 in any manner, such as by a wired orwireless connection.

The techniques discussed herein may be implemented in a variety ofcontexts and/or in a variety of manners. As one example, the techniquesmay be implemented with a merchant-facing component (e.g., application,online site, interface, etc. designed for a merchant). In this example,the merchant 106 may place an order for a customer. In particular, thecustomer may enter an establishment of the merchant 106, place atelephone call with the merchant 106, send a notification to themerchant 106 (e.g., email, text message, social media post, etc.), orotherwise communicate with the merchant 106. The merchant 106 mayinteract with the merchant-facing component (e.g., the item acquisitioninterface 120 designed for merchant use) to select an item identified bythe customer and/or input other information provided by the customer(e.g., a delivery address, etc.). When a delivery proposal is receivedfrom the service provider 102, the merchant 106 may communicate theinformation of the delivery proposal to the customer (e.g., display ascreen with a delivery cost, read the delivery cost from the itemacquisition interface 120 to the customer, send a notification, etc.).Alternatively, the merchant 106 may refrain from providing theinformation of the deliver proposal to the customer. For instance, themerchant 106 may decide to offer the delivery for free to the customer,include the cost of delivery in a total cost of the order (e.g., withoutbeing itemized), and so on. In any event, the merchant 106 may accept orreject the delivery proposal and/or order the item based on acommunication from the customer.

As another example, the techniques may be implemented with acustomer-facing component (e.g., application, online site, interface,etc. designed for a customer). In this example, a customer may place anorder directly with the merchant 106. In particular, the customer maynavigate to an online site associated with the merchant 106, open anapplication associated with the merchant 106 (e.g., desktop application,mobile application, etc.), and so on, to place an order with themerchant 106. In some instances, the customer may view deliveryinformation during the process (e.g., a delivery cost, estimated amountof time for delivery, etc.), while in other instances the informationmay not be shown to the customer or included within other information(e.g., a total cost of the order). Further, the customer may view astatus update of a delivery through the customer-facing component.

As yet another example, the techniques may be implemented automaticallywithout user input. In this example, information may not be displayed orotherwise communicated to an individual. For instance, one or morecriteria may be established for acceptance/rejection of a deliveryproposal, so that the delivery proposal is automaticallyaccepted/rejected upon satisfying the one or more criteria. Toillustrate, a delivery proposal may be accepted (or rejected) if a costfor delivery is below (or above) a threshold cost, an estimated amountof time of delivery is below (or above) a threshold amount of time, anestimated pick-up time for delivery is before (or after) a particulartime, an estimated drop-off time for delivery is before (or after) aparticular time, and so on. As such, in some instances, informationregarding a delivery may not be displayed through the item acquisitioninterface 120.

Similarly for the case of reservations, the reservation requests, viaAPI calls, may be initiated by the merchant through merchant devices,customer through customer devices, the third party devices throughsettings made by the merchant or customer, or automatically through theconsensus service, based on machine learning of transactions betweenmerchant and customers. For content aggregation and analysis, thecontent harmonization requests, such as pushing customized menus orharmonizing menus across different services, the content requests, viaAPI calls, may be initiated by the merchant through merchant devices,customer through customer devices, the third party devices throughsettings made by the merchant or customer, or automatically through theconsensus service, based on machine learning of transactions betweenmerchant and customers.

FIG. 2 illustrates example details of the service provider 102 (or insome cases, service provider 116) of FIG. 1. The service provider 102may be implemented as one or more computing devices, such as servers,laptop computers, desktop computers, and so on. The one or morecomputing devices may be configured in a cluster, a farm, a data center,a cloud computing environment, or a combination thereof. In one example,the one or more computing devices provide cloud computing resources,including computational resources, storage resources, and the like. Theone or more computing devices of the service provider 102 may includeone or more processors 202, memory 204, and one or more networkinterfaces 206. The one or more processors 202 may include a centralprocessing unit (CPU), a graphics processing unit (GPU), amicroprocessor, a digital signal processor, and so on.

The memory 204 may include software functionality configured as one ormore “modules.” The term “module” is intended to represent exampledivisions of the software for purposes of discussion, and is notintended to represent any type of requirement or required method, manneror necessary organization. Accordingly, while various “modules” orcomponents are discussed, their functionality and/or similarfunctionality could be arranged differently (e.g., combined into a fewernumber of modules, broken into a larger number of modules, etc.).Further, while certain functions are described herein as beingimplemented as software modules configured for execution by a processor,in other embodiments, any or all of the functions may be implemented(e.g., performed) in whole or in part by hardware logic components. Forexample, and without limitation, illustrative types of hardware logiccomponents that can be used include Field-programmable Gate Arrays(FPGAs), Application-specific Integrated Circuits (ASICs),Program-specific Standard Products (ASSPs), System-on-a-chip systems(SOCs), Complex Programmable Logic Devices (CPLDs), etc. As illustrated,the memory 204 may include a consensus service 207, a recommendationmodule 208, a content aggregation module 210, a third party servicemodule 212, and a payment transaction module 214.

The consensus service 207 may interface, through API endpoints, withthird party services, and other applications executing on merchantand/or user devices. The consensus service 207 can also be configured tointerface with databases associated with the third party services andmerchants. In one implementation, the consensus service 207 receivesinformation from the third party services 108 and/or the merchants oruser devices, either through a push/pull/or push and pull mechanism toschedule requests in an intelligent way and display the orders to amerchant in a consolidated manner by applying various rules and filtersto the incoming requests from different sources. The consensus servicecan also delegate a request to a specific third party service based onheuristic or machine learning models.

The recommendation module 208 may perform processing to generate aproposal, such as a delivery proposal regarding delivery of an item bydelivery services associated with the service provider 102. Another kindof proposal may be a reservation proposal to indicate reservationsregarding reservation of a user at a restaurant or a seating chartrelated to several user reservation requests. Yet another kind ofproposal may be a menu update, triggered for example, from a merchant'skitchen display system, to push to third party services. In this case,the information 130 flows from the merchant devices to the third partyservices, for example executing on the user devices 104. In manyinstances, the service provider 102 may receive a request for a deliveryproposal via one or more Application Programming Interfaces (APIs) 216and, in response, generate a delivery proposal and send the deliveryproposal to the requesting entity. Information included in a request fora delivery proposal is discussed in further detail below in reference toFIG. 3. The recommendation module 208 may generate a delivery proposalbased on information included in a request for the delivery proposal,information about a merchant's current or past state of orders,preparation time, etc., and third party service stored in a third partyservice information data store 218 or elsewhere (e.g., a currentlocation of the third party service, third party service profileinformation, third party data related to orders processed, order timing,order lags, etc.), information about a merchant stored in a merchantdata store 220 or elsewhere (e.g., a current location of the merchant,merchant profile information, etc.), information about a user (e.g., acurrent location of a user, a user profile, etc.), and so on.

Third party service profile information may include (i) delivery historyinformation for a third party service indicating an average amount oftime for the third party service to perform deliveries (e.g., an averageamount of time per mile, a total average amount of travel time, etc.),(ii) information indicating whether or not the third party service ison-time for delivery pick-up and/or drop-off, etc., (iii) vehicleinformation indicating a vehicle or type of vehicle that is used by thethird party service to transport items (e.g., a bike, car, van, truck,etc.), (iv) historical location information indicating where the thirdparty service is typically located (e.g., a home address, anestablishment where the third party service is located more than aparticular amount of time, etc.), and so on.

Merchant profile information may include (i) item preparationinformation indicating an amount of time (e.g., exact, average,estimated, etc.) to prepare an item or type of item for pick-up (e.g.,cook an item, manufacture an item, etc.), (ii) item informationregarding items that are offered for acquisition by a merchant (e.g.,item identifier, information about an itemcost/weight/volume/size/category, etc.), (iii) information regarding apackage that is used by a merchant to transport an item (e.g., a size,shape, weight, volume, etc. of a delivery box), and so on.

Example information that may be part of a delivery proposal includes:

-   -   A cost of delivery for an item—a value for using the delivery        services of the service provider 102 to deliver an item (e.g., a        $6 fee for a third party service to pick up food from a        restaurant and deliver it to a customer's location). A cost of        deliver may vary based on factors, such as a characteristic of        an item—a size, shape, weight, volume, type, etc. of the item        (e.g., larger or heavier items may cost more, oddly shaped items        may cost more (items that have a predetermined shape), fragile        items may cost more than non-fragile items, etc.); information        about a third party service (e.g., cost may increase a distance        from a third party service to a pick-up location increases, cost        may increase as a number of available third party services        decreases, etc.); information about a preparation time of an        item by a merchant (e.g., cost may increase (or decrease) as        preparation time decreases (or increases), due to an urgency to        have an item delivered); a location of pick-up (e.g., cost may        increase as a distance from a particular point to a pick-up        location increases); a location of drop-off (e.g., cost may        increase as a distance from particular point to a drop-off        location increases); a time of day (e.g., cost may increase        during peak delivery times, such as in the evening); and so on.    -   An amount of time for delivery of an item (e.g., an estimated        amount of time—delivery will take 20-30 minutes). The amount of        time may generally be the time for a third party service to        retrieve an item and transport the item to the drop-off        location. However, in some instances the amount of time may        include a time to prepare the item by a merchant (e.g., the        amount of time may include a total time from ordering an item        until it arrives at a customer's location). An amount of time        for delivery may vary based on factors, such as a characteristic        of an item—a size, shape, weight, volume, type, etc. of the item        (e.g., larger or heavier items may take more time to deliver,        oddly shaped items may take more time to deliver (items that        have a predetermined shape), fragile items may take more time        than non-fragile items, etc.); information about a third party        service (e.g., an amount of time for delivery may increase as a        distance from a third party service to a pick-up location        increases, an amount of time for delivery may increase as a        number of available third party services decreases, etc.); a        time of day (e.g., an amount of time may increase during peak        travel times, such as during rush hour); and so on.    -   A pick-up time for delivery of an item (e.g., an estimated time        of day, week, month, year, etc. when a third party service will        pick up the item). The pick-up time may be when the item is        picked up from a merchant's location for delivery to a customer.        In some instances, the pick-up time is a window of time (e.g.,        2-2:30 PM). Further, in some instances a delivery proposal may        include a deadline as to the latest time the third party service        would pick up the item. A pick-up time may vary based on        factors, such as information about a third party service (e.g.,        a pick-up time may move farther out as a distance from a third        party service to a pick-up location increases, a pick-up time        moves farther out as a number of available third party services        decreases, etc.); a time of day (e.g., a pick-up time moves        farther out during peak delivery times, such as during rush        hour); and so on.    -   A drop-off time for delivery of an item (e.g., an estimated time        of day, week, month, year, etc. when a third party service will        drop off the item). The drop-off time may be when the item is        dropped off at a customer's location. In some instances, the        drop-off time is a window of time (e.g., 3-4 PM). A drop-off        time may vary based on factors, such as a characteristic of an        item—a size, shape, weight, volume, type, etc. of the item        (e.g., larger or heavier items may take more time to deliver,        oddly shaped items may take more time to deliver (items that        have a predetermined shape), fragile items may take more time        than non-fragile items, etc.), information about a third party        service (e.g., a drop-off time may move farther out as a        distance from a third party service to a pick-up location        increases, a drop-off time may move farther out as a number of        available third party services decreases, etc.); a time of day        (e.g., a drop-off time moves farther out during peak delivery        times, such as during rush hour); and so on.    -   A time at which a delivery proposal expires. In some instances,        the delivery proposal may expire if not accepted by a particular        time (e.g., time of day, day of week, month, year, etc.). As        such, the delivery proposal may be associated with a time of        expiration (e.g., tomorrow at 2 PM, 2 hours from receipt of the        delivery proposal, etc.).    -   A third party service capable of furnishing the order, for        example if the third party service through which the order was        placed is unable to due to courier or other technical        difficulties.    -   A sequence of items for the kitchen display system, where the        items are either arranged by the order ID or item preparation        time, to enable the merchant to keep a single tablet for orders        from different sources.    -   A preparation timeline or delivery timeline for the kitchen        display system to indicate to the third party services updates        on orders.

The content aggregation module 210 may provide analytical informationbased on aggregated data, such as menu updates, delivery informationregarding progress of a delivery, reservation lists, etc. For example,the content aggregation module 210 may receive a request via the one ormore APIs 216 for a delivery status update and, in response, generateinformation regarding a status of delivery and send the information tothe requesting entity. In other examples, such information regarding thestatus of delivery may be generated and sent automatically and/or uponthe occurrence of another event. The content aggregation module 210 maygenerate information regarding a status of a delivery based on variousinformation, such as a location of a third party service, an indicationfrom a third party service regarding confirmation of pick-up of an itemat a merchant's location and/or drop-off at a customer's location, acommunication from a merchant indicating confirmation of pick-up, acommunication from a merchant regarding a status of preparing an item(e.g., an amount of time left to cook a dish), and so on. As such, thecontent aggregation module 210 may communicate with the third partyservice module 212 to receive location information regarding couriers.

The third party service module 212 may manage third party services. Forexample, the third party service module 212 may track locations ofcouriers associated with third party services (before, during, and/orafter delivery), select a third party service for delivery, communicatewith the third party service to facilitate the delivery, provide updatesregarding a status of delivery, predict third party service travel timesto various delivery locations for various times of the day and/or daysof the week, and so on. To do so, the third party service module 212 mayanalyze various information, such as information included in a requestfor a delivery proposal, information included in a request for adelivery status update, information about a third party service storedin the third party service information data store 218 or elsewhere(e.g., a current location of the third party service, third partyservice profile information, etc.), information about a merchant storedin the merchant data store 220 or elsewhere (e.g., a current location ofthe merchant, merchant profile information, etc.), information about abuyer (e.g., a current location of a buyer, a user profile), and so on.In some instances, the third party service module 212 may manage thirdparty services through activation, movement, positioning, and/ordeactivation, for example through APIs.

As one example, the third party service module 212 may select a thirdparty service to facilitate its couriers to transport an item from amerchant to a buyer. In some instances, a third party service isselected in response to receiving an acceptance of a delivery proposalvia the one or more APIs 216. In other instances, a delivery is arrangedupon the occurrence of other events. The third party service module 212may use various information to select a third party service, such as alocation of the third party service relative to a location of a merchant(e.g., select a third party service that is closest to a pick-uplocation), an availability of the third party service (e.g., select athird party service that is available), a type of vehicle that is usedby the third party service to transport items (e.g., select a thirdparty service that is able to transport the type of item beingdelivered), information about an item being delivered (e.g., a size,shape, volume, type, etc.), and so on. The third party service module212 may then communicate with the selected third party service toarrange the delivery. The service provider 102 may provide informationregarding a number of items to transport, a location of a merchant (ormultiple merchants, if multiple items are going to be delivered), arequested time of pick-up and/or drop-off, and so on. If it isdetermined that multiple trips are required for the delivery (e.g., dueto a number of items being delivered, a size of items being delivered, acarrying capacity of a third party service, etc.), the third partyservice module 212 may inform a third party service of the multipletrips and/or send instructions to multiple third party services to makethe delivery. Further, the third party service module 212 may inform athird party service that a delivery that is not urgent and may beperformed during a downtime period in which less than a threshold numberof deliveries are scheduled for the third party service. The third partyservice module 212 may inform the third party service of the time period(e.g., “perform the delivery between 8 pm and 10 pm any night thisweek”) or the third party service may make the delivery as time frees upthroughout a day, week, etc. In many instances, the third party servicemodule 212 communicates with third party services through non-APIchannels and/or separate channels than the one or more APIs 216 used forexposing delivery services to entities.

The payment transaction module 214 may facilitate payment transactionsbetween merchants, users, and/or third party services. For example, thetransaction module 214 may receive orders regarding transactions,process the transactions, generate and/or store transaction informationregarding the transactions, and so on. During a transaction, a user(e.g., customer) may acquire an item from a merchant by purchasing,renting, leasing, borrowing, licensing, or the like. The item may referto a good and/or a service offered by a merchant. When paying for thetransaction, the user can provide the amount of payment that is due tothe merchant. In some instances, the transaction may be processed byelectronically transferring funds from a financial account associatedwith the user to a financial account associated with the merchant. Insome examples, the transaction module 214 may be implemented by one ormore computing devices that are configured to perform secure electronicfinancial transactions.

The payment transaction module 214 may facilitate payment transactionsinitiated through a variety of channels. As one example, a user mayinteract with a user device to place an order with a merchant. Here, theservice provider 102 may communicate with the merchant to fulfill theorder (e.g., inform the merchant that an order has been placed, ask themerchant to fulfill an order, etc.). As another example, a merchant mayinteract with a merchant device to place an order on behalf of a user.Here, the user may communicate with the merchant via telephone,in-person, a notification (e.g., text message, email, social media,etc.), and so on, to indicate a desire to place an order with themerchant. In any of these examples, a user may provide payment at anytime, such as at the time of placing an order, while an item is beingdelivered, at the time of drop-off (e.g., interacting with a third partyservice device), and so on.

A user may provide payment through various method, such as cash, check,a payment card, Near Field Communication (NFC), Bluetooth®, an account,electronic payment, and so on. In some instances, the paymenttransaction module 214 enables card-less payments for transactionsbetween a user and a merchant based on interaction of the user with auser device and interaction of the merchant with a merchant device.Accordingly, in some examples, a card-less payment transaction mayinclude a transaction conducted at a POS location during which anelectronic payment account of the user is charged without the userhaving to physically present a payment card to the merchant at the POSlocation. Consequently, the merchant need not receive any details aboutthe financial account of the user for the transaction to be processed.As one example, the electronic payment may be charged to a credit cardissuer or credit card number that the user provided when signing up withthe service provider 102 for an electronic payment account. As anotherexample, the user may have a quantity of money pre-paid in an accountmaintained for use in making the electronic payments. Other variationswill also be apparent to those of skill in the art.

In some instances, the payment transaction module 214 may storetransaction information in a transaction information data store 222. Thetransaction information may be received from a merchant device, buyerdevice, third party service device, and/or generated by the serviceprovider 102. The transaction information may include informationregarding the time, place and/or the amount of the transaction,information related to the item acquired (e.g., information identifyingthe item sold), a type of payment being used (e.g., cash, check, paymentcard, electronic payment, etc.), as well as additional information, suchas buyer information. For instance, if a payment card is used, thetransaction information can include data stored in the payment card(e.g., Track 1 data (cardholder name, card number and other cardinformation)). In addition, when completing the transaction, a buyer maysometimes provide a receipt email address for receiving a receiptthrough email. Other examples of transaction information that can becaptured include item information (e.g., an itemized listing of theitems being acquired, the price being paid for each item, descriptors ofthe items (size, flavor, color, etc.)), geolocation data indicating ageographic Point of Sale (POS) location of a particular transaction,online/offline card data, data describing a merchant (e.g., a merchantidentifier, a merchant category code (MCC), etc.), information includedin a request for a delivery proposal, information included in a deliveryproposal, any type of data that is received upon a buyer'sauthentication into a social network, and/or various other types ofinformation. In some instances, transaction information may be used tostore information about a merchant in the merchant data store 220 (e.g.,a cost of an item offered by a merchant may be obtained from transactioninformation regarding a transaction at the merchant's establishment).

While FIG. 2 illustrates components and data of the service provider 102as being present in a single location, these components and data mayalternatively be distributed across different computing devices and/ordifferent locations in any manner. Consequently, the functions may beimplemented by one or more computing devices, with the variousfunctionality described being distributed in various ways across thedifferent computing devices. Multiple computing devices may be locatedtogether or separately, and organized, for example, as virtual servers,server banks, and/or server farms. The described functionality may beprovided by the servers of a single entity or enterprise, or may beprovided by the servers and/or services of multiple different buyers orenterprises.

FIG. 3 illustrates example details of a merchant device 300. Forexample, the merchant device 300 may be employed by the merchant 106 ofFIG. 1. The merchant device 300 may be implemented as a laptop computer,a desktop computer, a server, a smart phone, an electronic readerdevice, a mobile handset, a personal digital assistant (PDA), a portablenavigation device, a portable gaming device, a tablet computer, awearable computer (e.g., a smart watch, an optical head-mounted display(OHMD), etc.), a portable media player, a television, a set-top box, acomputer system in an automobile, an appliance, a camera, a robot, ahologram system, a security system, a home-based computer system (e.g.,intercom system, home media system, etc.), a projector, an automatedteller machine (ATM), and so on. In some In one implementation, themerchant device 300 can execute a third party service, such as adelivery service, reservation service, menu service, review service, andso on. The merchant device 300 can, in one implementation, interfacewith the third party service and other services through one or moreconsensus services 207. In one example, the service provider providesAPI endpoints to communicate with the third party service and themerchant device 300, which may or may not provide API endpoints 114 forthe service provider to access. Accordingly, the service provider'sconsensus service 207 may be able to pull, push, or push and pull datafrom the external services.

The merchant device 300 may also be associated with additional devicesto manage incoming orders, reservations, appointments, notifications,updates, alerts and so on. For example, the merchant device 300 may beassociated with one or more tablets connected to or including a kitchendisplay system. Typically, the kitchen display system is configured todisplay orders coming in from various third party services on a tabletof their own. However, using the implementations described herein, thetablets may be integrated into one such that all orders irrespective ofthe source are synchronized and structured to be presented and handledon a single tablet. Similarly, for reservations, the merchant device 300may be associated with an onsite reservation system that tracks thephysical space vis-à-vis occupancy/availability.

The merchant device 300 may include one or more processors 302, memory304, one or more network interfaces 306, and one or more displays 308.The one or more processors 302 may include a central processing unit(CPU), a graphics processing unit (GPU), a microprocessor, a digitalsignal processor, and so on. The one or more displays 308 may include atouch screen, a Liquid-crystal Display (LCD), a Light-emitting Diode(LED) display, an organic LED display, a plasma display, an electronicpaper display, or any other type of technology. Although notillustrated, the merchant device 300 may also include, or be associatedwith, other components, such as a camera(s), a microphone(s), aspeaker(s), a projector(s), a printer(s), and/or a sensor(s). The one ormore cameras may include a front facing camera and/or a rear facingcamera. The one or more sensors may include an accelerometer, compass,gyroscope, magnetometer, Global Positioning System (GPS), olfactorysensor (e.g., for smell), or another sensor. The merchant device 300 mayadditionally include, or be associated with, input device(s) such as akeyboard, a mouse, a pen, a voice input device, a touch input device,etc. The memory 304 may include a merchant module 310 and a locationmodule 312.

The merchant module 310 (and/or the location module 312) may represent amerchant-facing component that may generally be used by a merchant.Although in some instances a customer may interact with themerchant-facing component (e.g., to confirm payment, provide deliveryinformation, or provide other input). The merchant module 310 mayperform various processes to assist a merchant in facilitatingtransactions with customers, managing deliveries, managing inventory,and so on. The merchant module 310 may provide various interfaces and/ordashboards. In some instances, the merchant module 310 may be referredto as an application, such as an acquisition application for deliveryorders, reservation orders, and menu updates/preferences.

The merchant module 310 may communicate with the service provider 102 touse delivery services provided by the service provider 102. As oneexample, a merchant may interact with an item acquisition interface(e.g., the item acquisition interface 120) provided by the merchantmodule 310 to place an order for a customer. If the merchant module 310determines that a delivery may be requested (e.g., automaticdetermination, based on the customer indicating a desire to have theorder delivered, etc.), the merchant module 310 may generate a requestfor a delivery proposal and send the request to the service provider 102via one or more APIs to request information regarding use of deliveryservice recommended by the service provider 102. The information of therequest may be provided by the customer or the merchant, retrieved froma data source (e.g., a user profile, a merchant profile, etc.), and soon. Example information that may be part of a request for a deliveryproposal includes:

-   -   A pick-up location for an item—a location where an item is        retrieved from a merchant for delivery to a customer. The        pick-up location may generally be a merchant's location (e.g.,        establishment), although any location may be used, such as a        warehouse, residence, PO box, street corner, etc. The pick-up        location may be stationary or mobile (e.g., in the case of a        moving merchant).    -   A drop-off location (also referred to as the location of        delivery)—a location where an item is delivered to a customer.        The drop-off location may generally be a customer's location,        such as a residence, PO box, street corner, establishment where        a customer is currently located, etc. The drop-off location may        be stationary or mobile (e.g., in the case of a moving        customer).    -   A requested time of pick-up—a time of day, week, month, year,        etc. to retrieve an item from a merchant for delivery. The        requested time of pick-up may be a specific time, a window of        time, and so on. In some instances, the requested time of        pick-up may be as soon as possible (e.g., in the case when an        item is already made or in other situations). If a pick-up time        is not specified in a request for a delivery proposal, the        service provider 102 may assume that the pick-up time is as soon        as possible, for example.    -   A number of items being acquired—a quantity of items being        purchased from a merchant. In some instances, the service        provider 102 may use this information to determine a size of an        order (e.g., how much space is needed to transport the order).    -   An item identifier identifying an item that is being acquired.        In some instances, the service provider 102 may use this        information to lookup information about the item to determine        how much space is needed to transport the order, a type of        vehicle that is needed to transport the item, a type of the item        (e.g., fragile vs. non-fragile, perishable vs. non-perishable,        etc.), and so on.    -   A characteristic of an item that is being acquired (e.g., size,        shape, weight, volume, type, category, etc.). In some instances,        the service provider 102 may use this information to determine        how much space is needed to transport the item.    -   A tag associated with an item being acquired (e.g., a tag        indicating a particular category). For example, an item may be        tagged with a predetermined label that is associated with a        category of food that requires special handling for delivery        (e.g., pizza or soup, which may need to be kept warm and/or        upright; catered food, such as food on a tray, which may require        special handling; a television, which may need to be handled        with care; etc.). In some instances, the service provider 102        may use this information to determine how much space is needed        to transport the order, a type of vehicle that is needed to        transport the item, a type of the item (e.g., fragile vs.        non-fragile, perishable vs. non-perishable, etc.), and so on.    -   A value of an order (e.g., a cost of an item or order).    -   Pick-up instructions regarding an item. For example, a merchant        may specify that a bicycle may be picked up for delivery at the        back of a store.    -   Delivery instructions regarding an item. For example, a customer        may request that the item be delivered between a particular        window of time, at a particular spot on a customer's property,        with a particular type of vehicle, by a particular third party        service, and so on.    -   Customer contact information (e.g., telephone number, email        address, a customer's geolocation, etc.). As one example,        customer contact information may include a customer's street        address.

Although the merchant module 310 is discussed as providing theinformation included in a request for a delivery proposal, in someinstances the information may be determined (at least in part) at theservice provider 102 (e.g., the service provider 102 may receive an itemidentifier and lookup an item size, weight, etc.).

After submitting a request for a delivery proposal to the serviceprovider 102, the merchant module 310 may receive the delivery proposalfrom the service provider 102. In some instances, information from thedelivery proposal is conveyed to the customer. For example, the merchantmay inform the customer of a cost of delivery, an estimated deliverytime, and/or any other information. In other instances, information fromthe delivery proposal may not be presented to the customer. For example,the merchant may view the information of the delivery proposal and/orinclude the cost in a total cost of the order. As such, in someinstances it may appear to the customer that the delivery is beinghandled by the merchant. In any event, the merchant module 310 may sendan indication of acceptance or rejection of the delivery proposal to theservice provider 102 via the one or more APIs.

Thereafter, the merchant module 310 may communicate with the serviceprovider 102 via the one or more APIs to provide and/or receiveinformation on a status of a transaction. For example, the merchantmodule 310 send information indicating where an item is in thepreparation process (e.g., almost finished, done, entering the oven,bagged and ready for pickup, etc.). In another example, the merchantmodule 310 may receive information from the service provider regarding astatus of delivery by delivery services (e.g., a specific location of acourier of a third party service, how far away a third party service is,whether or not an item has been dropped off, courier associated with athird party service is in-transit to the pick-up location, etc.).

The merchant module 310 may receive orders through various channels. Forinstance, the merchant module 310 may receive a first order that isplaced by a merchant on behalf of a customer based on a telephoneconversation between the merchant and the customer and a second orderthat is placed by another customer on a customer application. The secondorder may be received from the service provider 102 and/or anotherparty, such as a service provider associated with the merchant. In anyevent, the orders may be managed by the same merchant module 310 viaservice provider's API. That is, the merchant module 310 may monitorpreparation of the orders, present information regarding a progress ofpreparation of the orders, present information regarding a deliverystatus of the orders, and so on. In many instances, information aboutthe orders is presented through an interface with information thatdesignates the orders as originating from different channels.

The merchant module 310 may apply one or more schemes to provide paymentfor delivery services used by the service provider 102. As one example,cost of delivery for using the delivery services of the service provider102 may be billed to a customer (e.g., directly on an item-by-itembasis, on a monthly basis, etc.). As another example, a merchant maydecide to provide the payment for the cost of delivery (e.g., not chargethe customer) in each instance or when one or more criteria aresatisfied, such as an order having more than a threshold number ofitems, an order having an amount that is more than a threshold amount,the customer being associated with a particular status (e.g., thecustomer having paid for a monthly subscription for delivery services orhaving purchased a particular number of items over time), and so on.

A merchant may be billed by the service provider 102 for use ofconsensus service that connects several delivery services in variousmanners, such as monthly, on an item-by-item basis, balancing an amountthat is owed to the merchant by the service provider 102 (e.g., subtractcosts for delivery services from an amount the service provider 102 owesthe merchant), and so on.

The merchant module 310 may additionally, or alternatively, performother processing. In one example, the merchant module 310 may facilitatetransactions with customers by accepting payment from customers (e.g.,via a card reader, NFC connection to a customer device, Bluetooth®connection to customer device, etc.), providing receipts for items(including printing receipts), receiving input from customers for itemsbeing acquired by the customers (e.g., confirmation, signature forcredit card, etc.), and so on. In another example, the merchant module310 may enable a merchant to manage inventory by informing the merchantof inventory levels (e.g., number of items currently in-stock), orderadditional inventory, view notifications from the service provider 102regarding inventory, offer inventory for acquisition to others, seekfinancing for inventory, and so on. In yet another example, the merchantmodule 310 may provide data analytics for sales, inventory, or otherinformation.

Although the functionality of the merchant module 310 is discussed asbeing included in a single component, the functionality may be dividedinto any number of components. In some instances, the functionality isdivided into separate applications, which may be linked to each other(e.g., access one application by selecting a link within anotherapplication).

The location module 312 may determine a location of the merchant device300. In some instances, the location is provided to the service provider102, or used locally, to facilitate various functions, such asdetermining a location of a merchant, processing of transactions when acustomer is located within a particular proximity to the merchant device300, etc. The location module 312 may determine a geographic location ofthe merchant device 300 from geolocation techniques (e.g.,satellite-based systems—global positioning system (GPS)), cell towerlocation data, wireless access point location data, wireless beaconlocation, and so forth. As such, the location module 312 may utilizedata from a location sensor of the merchant device 300, such as a GPSreceiver or communication interface that can determine (e.g., from celltowers or wireless access points) a geographic location of the merchantdevice 300.

In some types of businesses, the merchant device 300 may be associatedwith a store or other place of business of a merchant, and thus, may bea fixed location that typically does not change on a day-to-day basis.In other types of businesses, however, the merchant device 300 may movelocations from time to time, such as in the case where the merchantoperates a food truck, is a street vendor, a cab driver, etc. or has anotherwise mobile business (e.g., in the case of merchants who sell itemsat buyer's homes, places of business and so forth).

FIG. 4 illustrates example details of a user device 400. For example,the user device 400 may be employed by the user 104 of FIG. 1. The userdevice 400 may be implemented as a laptop computer, a desktop computer,a server, a smart phone, an electronic reader device, a mobile handset,a personal digital assistant (PDA), a portable navigation device, aportable gaming device, a tablet computer, a wearable computer (e.g., asmart watch, an optical head-mounted display (OHMD), etc.), a portablemedia player, a television, a set-top box, a computer system in anautomobile, an appliance, a camera, a robot, a hologram system, asecurity system, a home-based computer system (e.g., intercom system,home media system, etc.), a projector, an automated teller machine(ATM), and so on. In some instances, the merchant device 300 may be amobile device. In one implementation, the user device 400 can execute athird party service, such as a delivery service, reservation service,menu service, review service, and so on. The user device 400 can, in oneimplementation, interface with the merchant services, such as merchantdevice 300, through one or more consensus services 207. In one example,the service provider provides API endpoints 114 to communicate with thethird party service and the merchant device 300, which may or may notprovide API endpoints for the service provider to access. Accordingly,the service provider's consensus service 207 may be able to pull, push,or push and pull data from the user devices. The third party service maybe hosted on a third party server, similar to service provider, forexample.

The user device 400 may include one or more processors 402, memory 404,one or more network interfaces 406, and one or more displays 408. Theone or more processors 402 may include a central processing unit (CPU),a graphics processing unit (GPU), a microprocessor, a digital signalprocessor, and so on. The one or more displays 408 may include a touchscreen, a Liquid-crystal Display (LCD), a Light-emitting Diode (LED)display, an organic LED display, a plasma display, an electronic paperdisplay, or any other type of technology. Although not illustrated, theuser device 400 may also include, or be associated with, othercomponents, such as a camera(s), a microphone(s), a speaker(s), aprojector(s), a printer(s), and/or a sensor(s). The one or more camerasmay include a front facing camera and/or a rear facing camera. The oneor more sensors may include an accelerometer, compass, gyroscope,magnetometer, Global Positioning System (GPS), olfactory sensor (e.g.,for smell), or another sensor. The user device 400 may additionallyinclude, or be associated with, input device(s) such as a keyboard, amouse, a pen, a voice input device, a touch input device, etc. Thememory 404 may include a customer module 410 and a location module 412.

The customer module 410 (and/or the location module 412) may represent acustomer-facing component that may generally be used by a customer.Although in some instances a merchant may interact with thecustomer-facing component (e.g., to confirm payment, provide deliveryinformation, or provide other input). The customer module 410 mayperform various processes to assist a customer in facilitatingtransactions with merchants. In doing so, the customer module 410 mayprovide various interfaces and/or dashboards. In some instances, thecustomer module 410 may be referred to as an application, such as anitem acquisition application. Further, in some instances the customermodule 410 may comprise a local application that operates in cooperationwith a service provider associated with a merchant, such as a thirdparty application 407, such as delivery services, to order pizza from apizza merchant.

The customer module 410 may communicate with the service provider 102 touse delivery services associated with the service provider 102. As oneexample, a customer may interact with an item acquisition interface(e.g., the item acquisition interface 120) provided by the customermodule 410 to place an order with a merchant. If the customer module 410determines that a delivery may be requested (e.g., automaticdetermination based on a setting in a user profile or previouspurchases, determination based on customer input indicating a desire tohave the order delivered, etc.), the customer module 410 may generate arequest for a delivery proposal and send the request to the serviceprovider 102 via one or more APIs to request information regarding useof delivery service provided by the service provider 102. Theinformation of the request may be provided by the customer, retrievedfrom a data source (e.g., a user profile, etc.), and so on. Although inmany instances the customer module 410 provides the information includedin a request for a delivery proposal, in some instances the informationmay be determined (at least in part) at the service provider 102 (e.g.,the service provider 102 may receive an item identifier and lookup anitem size/weight, the service provider 102 may identify the customer andlook up preferences of the customer, etc.).

After submitting a request for a delivery proposal to the serviceprovider 102, the customer module 410 may receive the delivery proposalfrom the service provider 102. In some instances, information from thedelivery proposal is conveyed to the customer. For example, an itemacquisition interface may display a cost of delivery, an estimateddelivery time, and/or any other information. In other instances,information from the delivery proposal may not be presented to thecustomer. For example, the item acquisition interface may not displaythe cost of delivery as an itemized element, but include the cost ofdelivery in the total cost of the order. As such, in some instances itmay appear to the customer that the delivery is being handled by themerchant. In any event, the customer module 410 may send an indicationof acceptance or rejection of the delivery proposal to the serviceprovider 102 via the one or more APIs.

The customer module 410 may also communicate with the service provider102 via the one or more APIs to request and/or receive information on astatus of a transaction. For example, the customer module 410 mayreceive information regarding a status of preparation of an item (e.g.,almost finished, done, entering the oven, bagged and ready for pickup,etc.), a status of delivery by delivery services (e.g., a specificlocation of a courier, how far away a courier is, whether or not an itemhas been dropped off, courier is in-transit to the pick-up location,etc.), and so on. Such information may be presented to the customer. Inone example, a map is displayed to the customer with an icon or otherelement indicating a location of the courier. Additionally, oralternatively, an advertisement may be displayed. To illustrate, thecustomer module 410 may display an advertisement for an online siteassociated with delivering items for merchants. The advertisement mayencourage the customer to use the online site to place orders in thefuture, instead of placing an order with a merchant directly. Althoughin other illustrations, any type of advertisement may be displayed.

The customer module 410 may additionally, or alternatively, performother processing. As one example, the customer module 410 may provideinformation via an interface regarding merchants that are within apredetermined proximity to a user. The user may select a merchant andorder an item with the merchant. Additionally, or alternatively, thecustomer module 410 may enable the user to provide payment for an item(e.g., via a card reader, NFC connection to a merchant device,Bluetooth® connection to a merchant device, etc.), receive receipts foritems, and so on. Further, the customer module 410 may enable the userto check-in to a merchant to carry out a card-less payment transaction.

The location module 412 may determine a location of the user device 400.In some instances, the location is provided to the service provider 102,or used locally, to facilitate various functions, such as processing oftransactions when a customer is located within a particular proximity toa merchant device. The location module 412 may determine a geographiclocation of the user device 400 from geolocation techniques (e.g.,satellite-based systems—global positioning system (GPS)), cell towerlocation data, wireless access point location data, wireless beaconlocation, and so forth. As such, the location module 412 may utilizedata from a location sensor of the user device 400, such as a GPSreceiver or communication interface that can determine (e.g., from celltowers or wireless access points) a geographic location of the userdevice 400.

In some implementations, the user device 400 is also configured toreceive reservation proposal in response to a reservation requesttriggered through the user device 400, the merchant device 300, orautomatically, for example through the service provider. The user of theuser device 400 can approve or reject the reservation proposal. The userdevice 400 can also provide preferences of the kind of seating theywould prefer either for a current reservation or a future reservation.The preferences may also include the chefs, items, merchant location,time of day, alternate merchants, cuisines of choice, etc., so that theservice provider can generate alternatives for the user, for example incase a preferred reservation is not available or there is a conflictwith another reservation from a different source.

FIGS. 5-7 illustrate example processes 500, 600, and 700 for employingthe techniques described herein. For ease of illustration the processes500, 600, and 700 may be described as being performed by a computingdevice described herein, such as the service provider 102, the merchantdevice 300, the user device 400, and/or the third party service device,which can be a user device. However, the processes 500, 600, and 700 maybe performed by other devices. Moreover, the devices may be used toperform other processes.

The processes 500, 600, and 700 (as well as each process describedherein) are illustrated as a logical flow graph, each operation of whichrepresents a sequence of operations that can be implemented in hardware,software, or a combination thereof. In the context of software, theoperations represent computer-readable instructions stored on one ormore computer-readable storage media that, when executed by one or moreprocessors, perform the recited operations. Generally, computer-readableinstructions include routines, programs, objects, components, datastructures, and the like that perform particular functions or implementparticular abstract data types. The order in which the operations aredescribed is not intended to be construed as a limitation, and anynumber of the described operations can be combined in any order and/orin parallel to implement the process. Further, any number of thedescribed operations may be omitted. In some examples, operations thatare described in the processes 500, 600, and/or 700 as being performedby a device or service provider may be performed by an applicationrunning on the device or service provider.

FIG. 5 illustrates the example process 500 to expose one or more APIs toenable entities to use third party services associated with and otherservices provided by the service provider 102.

At 502, the service provider 102 may expose one or more APIs to providea computing device with access to delivery resources of a deliveryservice that interfaces with a consensus service 207 of the serviceprovider 102. For example, the service provider 102 may expose the oneor more APIs to a computing device associated with a merchant and/or acustomer to facilitate delivery of items offered by the merchant by aplurality of delivery platforms.

At 504, the service provider 102 may receive, via the one or more APIs,a request regarding delivery of an item. The request may be receivedfrom a computing device associated with a merchant or a customer. Therequest may indicate a location of delivery, a location of pick-up, arequested time of pick-up, a number of items being acquired, a size ofthe item, whether or not the item is associated with a predeterminedcategory, a weight of the item, and so on. In some instances, therequest is received from an application that is executable on acomputing device associated with a merchant or a customer. The requestmay be for delivery of any type of item. In one example, the item may bea computing device (e.g., tablet, etc.) that is configured with amerchant application that facilitates acquisition of items with customer(e.g., a proprietary merchant application that may not be available tothe general public). Here, the request may seek to deliver the item to amerchant to onboard the merchant (e.g., register) the merchant with aservice provider to use purchasing resources provided by the serviceprovider. The purchasing resources may be used as the merchant interactswith the delivered computing device. In other examples, the item may beother types of items.

At 506, the service provider 102 may generate a delivery proposalregarding delivery of an item or scheduling of order incase of multipleorders received from multiple third party services. The deliveryproposal may include a cost for delivery of the item by the deliveryservice associated with the service provider 102, an estimated amount oftime for delivery of the item by the delivery service, an estimatedpick-up time for delivery of the item, an estimated drop-off time fordelivery of the item, and so on. In some instances, the service provider102 may determine the cost for delivery of the item (or any otherinformation in the delivery proposal) based on a current location of athird party service, a location of pick-up of the item, a location ofdrop-off of the item, an estimated preparation time of the item by amerchant associated with the item, and so on. The delivery proposal mayalso include a sequence of orders for the kitchen display system so thatthe merchant can coordinate the order preparation accordingly.

At 508, the service provider 102 may send a delivery proposal to acomputing device, such as a computing device associated with a merchantor a user.

At 510, the service provider 102 may receive, via the one or more APIs,an indication of acceptance or rejection of a delivery proposal. Theindication of acceptance or rejection may be received from a computingdevice associated with a merchant or a user.

At 512, the service provider 102 may receive location information forcouriers from third party service devices. The location information maybe received at any time, through a different API than that used tocommunicate with a merchant or customer, through a non-API channel, andso on. The location information may identify a current location of athird party service device.

At 514, the service provider 102 may identify a third party service fromamongst several third party services to transport the item. In manyinstances, such identification may be performed in response to receivingan indication of acceptance of a delivery proposal. The third partyservice device may be identified based on a variety of information, suchas a location of the third party service device identified in thelocation information.

At 516, the service provider 102 may send a communication to a thirdparty service device to transport an item. The communication may requestthat the associated third party service obtain the item from a locationof pick-up and transport the item to a location of delivery. Thecommunication may include various information about the delivery, suchas information in a request for a delivery proposal, information in thedelivery proposal, and so on. The communication may be sent through adifferent API than that used to communicate with a merchant or customer,through a non-API channel, and so on. In some instances, the serviceprovider 102 may receive an indication of acceptance from the thirdparty service device indication that the third party service willdeliver the item.

At 518, the service provider 102 may receive location information and/ordelivery information. The location information and/or deliveryinformation may be received from a third party service device and/or amerchant device. In many instances, such information may be receivedafter delivery has begun. The location information may generallyindicate a location of the third party service. The delivery informationmay include, for example, input from a third party service indicating alocation of the third party service, information from the third partyservice or merchant indicating that an item has been picked-up, and soon.

At 520, the service provider 102 may determine a status of delivery ofan item being delivered. The status of delivery may be based on thelocation information and/or delivery information received at 822.

At 522, the service provider 102 may send a status of delivery to acomputing device associated with a merchant or a customer. The computingdevice may display the status of delivery to the merchant or thecustomer.

In some instances, the service provider 102 may receive orders throughmultiple channels, or multiple sources, such as third party services. Ifan order is received though a non-merchant channel (e.g., directly froma customer), the service provider 102 may communicate with the merchantto request that the merchant fulfill the order. If accepted by themerchant, the merchant may send an indication of acceptance and theservice provider 102 may proceed with facilitating delivery by a thirdparty service. Further, a status of delivery may be determined for anynumber of deliveries that are in progress. In some instances, multiplestatuses for multiple items with a single merchant or customer may bedetermined and sent to a merchant device or customer device.

FIG. 6 illustrates the example process 600 to communicate with theservice provider 102 via one or more APIs to use third party servicesintegrated with the service provider 102 to coordinate actions usingconsensus service. The process 600 is discussed in the context of beingperformed by an acquisition device, such as a computing deviceassociated with a merchant or a customer.

At 602, the acquisition device may provide an interface, such as theitem acquisition interface 120 of FIG. 1. This may include displayingthe item acquisition interface via a display. The interface may enable auser to place an order for an item. The interface may also be a kitchendisplay system to enable a merchant to view orders, sequence in whichthey should be prepared, broken down by items, such that similar itemsmay be clubbed to create a new ticket for internal kitchen purposes, andchanging the flow for items that are no longer available and so on. Theinterface may also be to an interface of reservations, open andunavailable, showing which reservations are booked and from whichsource. The interface may also be an interface of items currentlyavailable at the merchant, with the merchant able to change the menu inreal-time based on availability, popularity, location of the merchant,etc.

At 604, the acquisition device may receive a selection of an item foracquisition. For example, a user (e.g., merchant, customer, etc.) mayplace an item in an electronic shopping cart to indicate an intention ofpurchasing the item from a merchant. In some instances, the user mayalso provide other information, such as a location of delivery, alocation of pick-up, a requested time of pick-up, a number of itemsbeing acquired, a size of the item, whether or not the item isassociated with the predetermined category, a weight of the item, and soon. In other instances, such information may be determinedautomatically. The other kind of requested information may be requestfor order collation, order sequencing, or order consensus triggered bythe merchant or automatically by the server.

At 606, the acquisition device may determine that information regardingdelivery of an item is requested. This may include receiving input froma user indicating an interest in having the item delivered, identifyinga distance between a location of a customer and a location of a merchant(e.g., if the distance is greater than a threshold, determine thatdelivery is being requested), and so on. In some instances, it mayautomatically be determined that delivery information is being requestedfor each order.

At 608, the acquisition device may send, via one or more APIs associatedwith the service provider 102 and to the service provider 102, a requestregarding delivery of an item. Such request may request a deliveryproposal. In some instances, the request may indicate a location ofdelivery, a location of pick-up, a requested time of pick-up, a numberof items being acquired, a size of the item, whether or not the item isassociated with a predetermined category, a weight of the item, and soon. The delivery proposal also includes reservation proposals, how todistribute the reservation quota among third party services, how todistribute acceptance or delivery of orders among third party services,how to sequence orders received from the third party services, and howto send or receive updates to orders, such as menu updates, orderupdates, etc.

At 610, the acquisition device may receive a delivery proposal from theservice provider 102. The delivery proposal may indicate a cost fordelivery of the item by a delivery service associated with the serviceprovider 102, an estimated amount of time for delivery of the item, anestimated pick-up time for delivery of the item, an estimated drop-offtime for delivery of the item, and so on.

At 612, the acquisition device may determine that a delivery proposal isaccepted or rejected. In some instances, the acquisition device maydisplay information included within the delivery proposal (e.g., a costfor delivery of an item, an estimated amount of time for delivery of theitem, etc.) and receive user input regarding acceptance of the deliveryproposal. In other instances, the acquisition device may automaticallydetermine to accept or reject the delivery proposal when one or morecriteria are satisfied. As such, the acquisition device may refrain fromdisplaying information of the delivery proposal, in some instances.

At 614, the acquisition device may send an indication of acceptance orrejection of a delivery proposal to the service provider 102 via one ormore APIs associated with the service provider 102. This may cause theservice provider 102 to facilitate delivery of an item. In someinstances, the customer may be charged for the delivery, while in otherinstances the merchant or others may be charged.

At 616, the acquisition device may perform delivery status processing.For example, the acquisition device may send, via one or more APIsassociated with the service provider 102, a request for a deliverystatus of an item. Thereafter, the acquisition device may receive, fromthe service provider 102, a status of delivery of the item and displaythe status of delivery. In other examples, a status of delivery may bedetermined at a merchant device (e.g., based on knowing that a thirdparty service picked-up an item), and the status of delivery may be sentto a customer device.

FIG. 7 illustrates the example process 700 to notify a third partyservice or a merchant device regarding a delivery of an item,reservation of an open/conflicting seat, menu update, and so on.

At 702, the third party service device may determine a geographiclocation of the third party service device, such as a user device. Thegeographic location may be determined based on data from a locationsensor of the third party service device, such as a satellite-basedsensor (e.g., Global Position System (GPS), cell tower radio, wirelessaccess point radio, wireless beacon location sensor, and so forth).

At 704, the third party service device may provide location informationto a service provider 102. The location information may indicate thegeographic location of the third party service device. The locationinformation may be provided periodically, at a particular time, uponrequest, and so on.

At 706, the third party service device may receive a communication fromthe service provider 102 regarding delivery of an item. For example, thecommunication may include a request for a third party service associatedwith the third party service device 500 to obtain an item from amerchant and transport the item to a customer. The request may specify atime frame for the delivery (e.g., a delivery time), a number of itemsto delivery, a route of delivery, a location(s) of a merchant, or anyother information that may be useful in making the delivery.

At 708, the third party service device may present a notificationrequesting that an item be delivered (e.g., obtained from anestablishment of a merchant and transported to a location of delivery).The notification may be presented via a display, a speaker, and so on.In some instances, the information is displayed via a third partyservice interface that facilitates deliveries of items (e.g., aninterface that enables the third party service to accept deliveries,acknowledge that deliveries have been made, request additionaldeliveries, etc.). The third party service device 500 may present anyinformation that is included in the communication that is received at1006.

At 710, the third party service device may receive input from the thirdparty service and/or send acceptance or rejection regarding delivery ofan item. For example, if the input indicates that the third partyservice accepts a task of delivering items to a customer, the thirdparty service device 500 may send a communication to the serviceprovider 102 indicating that such task has been accepted.

FIG. 8 illustrates an example process 800 of communicating via one ormore APIs exposed by a service provider to provide status updatesregarding orders. In FIG. 8, elements that are illustrated on the bottomportion of FIG. 8 (below a line established by one or more serviceprovider APIs 802) may represent operations performed by a serviceprovider, such as the service provider 102.

In the example of FIG. 8, a computing device 801 associated with a userexecuting a plurality of third party services allow generation orcreation of orders placed with the merchant associated with merchantdevice 106 and computing device 804 associated with a third partyservice implements a user interface 806 to allow generation or creationof orders placed with the merchant associated with merchant device 106.The orders coming in or orders that are listed on the left side of theuser interface 806 may be obtained by requesting the information fromthe service provider, as illustrated at 810. At 812, the serviceprovider may determine statuses of the orders by obtaining fulfillmentinformation and determining locations of third party services assignedto each of the orders for the merchant (Company A). At 814, the serviceprovider may generate the details regarding the statuses and send thedetails to the computing device 804 for display via the left side of theuser interface 1206.

The customer may generate the orders or order requests using thecomputing device(s) 801. Accordingly, the third party services 108executing on the computing device 801 may be used to trigger suchorders. The third party applications, such as third party apps 108,interface with the service provider 102 though deliveries status updateendpoint, or API endpoints 819, to both get details of orders 826, howtheir order is scheduled in a list of orders received from everywhere,the status of preparation and delivery 824, and so on. The serviceprovider can also schedule the orders to be delivered by companiesdifferent from the ones that were used to place the order, for examplebased on proximity of a user to a courier belonging to another deliverycompany.

The computing device 802 associated with the merchant is also shown. Aleft side of the user interface 806 may display relatively high levelinformation of all orders (or a particular number of orders) that havebeen placed with the merchant, regardless of a channel from which theorders are placed (e.g., telephone, customer application, website,etc.). Meanwhile, a right side of the user interface may display moredetailed information for one or more selected orders. The left and rightsides of the user interface 806 are separated by a line 808. The userinterface 806 may also be an interface of a kitchen display system wherethe service provider pushes notifications or updates in real time fromorders being received from multiple sources. The interface 806 alsolists the orders, as scheduled by the service provider 102, to assistmanagement of orders as per user preferences, availability, and othersuch factors.

As illustrated, status information regarding a delivery of an item maybe obtained by communicating with the service provider via the one ormore service provider APIs 802. For example, status information fororders that are listed on the left side of the user interface 806 may beobtained by requesting the information from the service provider, asillustrated at 810. At 812, the service provider may determine statusesof the orders by obtaining fulfillment information and determininglocations of third party services assigned to each of the orders for themerchant (Company A). At 814, the service provider may generate thedetails regarding the statuses and send the details to the computingdevice 804 for display via the left side of the user interface 806.

If the merchant selects a particular order on the left side of the userinterface 806, such as order 816, more detailed information that isspecific to that order may be displayed on the right side of the userinterface 806. In particular, the computing device 804 may requestadditional status information regarding the selected order 816, asillustrated at 818. At 820, the service provider may determine a statusof the selected order by obtaining fulfillment information anddetermining a location of a third party service assigned to the selectedorder. At 822, the service provider may generate the details regardingthe status and send the details to the computing device 804 for displayvia the right side of the user interface 1206. In some instances, thedetails displayed on the right side may be more specific than thosedisplayed on the left side. As such, the merchant many view statusinformation of orders placed through various types of channels.

In some instances, the box 810 represents an API for obtaining statusinformation for all orders (or a particular number of orders) of amerchant that are currently being delivered by the delivery services ofthe service provider. Meanwhile, the box 818 may represent an API forobtaining status information for a specific order of a merchant that iscurrently being delivered by the delivery services of the serviceprovider.

In some instances, the current application discloses a system forproviding optimized order scheduling, the system comprising one or moreprocessors; and one or more non-transitory computer-readable mediastoring instructions executable by the one or more processors, whereinthe instructions program the one or more processors to perform actscomprising receiving, by an order scheduling application executing on apoint of sale device associated with a merchant, a first order from afirst customer-facing order application, the first order comprising oneor more menu items to be prepared by the merchant for delivery to anaddress provided by the first customer-facing order application;sending, by the first delivery application and to the computing deviceof the merchant, an estimated pick-up time indicating the time when thefirst delivery application estimates arrival of a courier or thecustomer to pick-up the first order; determining, based on past ordersinvolving the first customer-facing application, a predicted pick-uptime indicating an estimated time for when a courier or the customer islikely to pick-up the first order; receiving, by the order schedulingapplication and from another customer, a second order from a secondcustomer-facing order application, the second order comprising one ormore menu to be prepared by the merchant; sending, by the first deliveryapplication and to the computing device of the merchant, an estimatedpick-up time indicating the time when the second delivery applicationestimates arrival of the courier or the other customer to pick-up thesecond order; determining, based on past orders involving the seconddelivery application, a predicted pick-up time indicating the time whenthe courier or the customer is likely to pick-up the second order;generating, by the order scheduling application, a sequenced list oforders based at least in part on the predicted pick-up times of thefirst order and the second order; and sending the sequenced list oforders to a kitchen display system for preparation of the orders as perthe sequenced list.

FIG. 9 illustrates an example process of an example service provider,such as service provider 102 or an associated application such asconsensus service, dynamically modifying icons 902 of a user interface904, such as user interface, based on contextual data. For example, themenu updates can be sent to the third party services based on therelationship between the third party service and the merchant, theavailability or popularity of items, and other contextual data.Contextual data can include a location of the service computing device900, a time of day, a day of the week, time of year (e.g., season),weather, merchant inventory, merchant preferences, customer preferences,items that are deemed upsell items, items that are deemed cross-sellitems, a sale and/or special offered by the merchant, and various othercontextual factors corresponding to the use of the service computingdevice 900. The contextual data can either be manually generated at amerchant device, through an application, or automatically through dataanalysis, for example current or historical, at the server level. Thecontextual information can be obtained by tracking order requests,complete or incomplete that is cart level information, from the thirdparty applications.

At 906, the service computing device 900 determines first contextualdata and displays first icons 902(1) based on the contextual data. Thefirst contextual data can be determined based on an analysis of one ormore factors corresponding to the use of the service computing device900. In the illustrative example, the analysis can include adetermination that a time of day corresponds to a breakfast menu. Basedon this determination, the service computing device 900 can display afirst set of icons 902(1) corresponding to the breakfast menu. In someexamples, the analysis can include an analysis of customer preferences,and a determination that the customer prefers particular menu items,such as the breakfast menu.

In various examples, the analysis can include a determination toemphasize one or more items. The emphasis can be presented by increasinga size, shape, color and/or hue of the icon 902, changing a placement ofthe icon 902, or any other adjustments to make the icon 902 stand out onthe display. The emphasis can be based on merchant inventory, currentweather, an attempt to upsell an item, an attempt to cross-sell an item,sales and/or specials offered by the merchant, transaction history ofthe merchant (e.g., known popular items sold at a time of day, a day ofthe week, time of year (e.g., season), known popular combinations ofitems sold, etc.

In some examples, the analysis can include a determination tode-emphasize one or more items. A de-emphasis of an item can be based onmerchant inventory, current weather, an attempt to cross-sell, and/orother factors in which the merchant may discourage the sale of aparticular item. The de-emphasis can be presented by removing the icon902 corresponding to the one or more items from the display page. Invarious examples, the user interface 904 can include multiple displaypages. In some examples, the de-emphasis can be presented by includingthe icon corresponding to the one or more items on a display page otherthan a main display page. For example, the de-emphasis can includepresenting the icon on a last page of the multiple display pages.

In various examples, the service computing device 900 can dynamicallydetermine to emphasize and/or de-emphasize one or more items based oncontextual factors. For example, if a customer orders the last muffin,the service computing device 900 can dynamically modify the userinterface 904 by removing the muffin icon from the user interface, andreplace it with a pastry icon.

At 908, the service computing device 900 determines second contextualdata and displays second icons 902(2) based on the contextual data. Invarious examples, the second contextual data can include a change in thetime of day from a time corresponding to the breakfast menu to a timecorresponding to a lunch menu. In some examples, the second contextualdata can include a determination of an event nearby the merchantlocation, or displayed on a screen at the merchant location, which couldaffect menu items most likely to be ordered by customers. In suchexamples, the service computing device 900 could dynamically modify theicons 902(1) to a second set of icons 902(2) to cater to the customerpreferences or external environment (e.g., cold/hot day recommendhot/cold beverage items). For example, a merchant may typically adjustfrom a breakfast to a lunch menu at 11 am. However, the servicecomputing device 900 may determine that a football game starts at 10 am,and during football games, the customers prefer to consume items on thelunch menu. Accordingly, the service computing device 900 may adjust oneor more of the icons 902 to those corresponding to lunch menu items.

In some examples, the service computing device 900 may determine that anevent is taking place nearby the merchant or will be presented on adisplay screen at the merchant location, and may generate one or moresales and/or specials (e.g., discounts, etc.) based on the event. Insuch examples, the service computing device 900 can emphasize the icons902 corresponding to the one or more specials. For example, the merchantmay offer hamburgers and alcoholic beverages on special during theevent. Accordingly, the service computing device 900 can modify theicons corresponding to the hamburgers and alcoholic beverages to makethem stand out. Additionally or alternatively, the service computingdevice may display a notification 910 that the particular items areoffered at a discounted price to further incentivize the purchase.

Alternatively or additionally, the first interface with icons 902(1) maycorrespond to a first third party service, while the second interfacewith 902(2) may correspond to a second third party service, where themerchant sends different updates to the menu interface. In anotherimplementation, the interfaces for both the one and another third partyservices are the same, which means the same content is presented to thethird party services. The contextual information, on which the menus arebased, may be tied to customer behavior with the menu associated withthird-party service (i.e., service A's menu for a merchant may beorganized differently than service B's menu for the same merchant). Thepayment service's API may be used to gather customerinteraction/behavior within that third party service application (e.g.,menu scrolling activity, navigation preferences, ordering history, andso on). Looking at ordering history, the payment service can use thatinformation to reorganize the menu, for example, if the payment service,or API determines that customers of service A typically order appetizerswhile service B's customers tend to order desserts from a particularmerchant. So in one embodiment, the payment service can push upcontent/menu updates to all third party ordering applications, forexample based on ordering activity that the consensus service tracksduring a specific time period (e.g., based on a query: “are customersfrom the majority of third party apps ordering steaks right now?”).Additionally or alternatively, the payment service can also push outcontent updates that reorganize the menu layout so as to generate uniquemenus that are customized to each third party app based on what theconsensus service learns about their customer's ordering behavior. Thus,the consensus service are gathers, analyzes, compares, and learns fromcurrent data and historical data that a delivery service would otherwisenot have access to. Furthermore, the consensus service allows distinctservices which otherwise do not communicate, to communicate throughindirect channels created by the consensus service. While thedescription discusses API to be one form of channels, it will beunderstood that the description can be extended to cover other forms ofchannels between the services either directly or through an intermediaryservice, like the payment service.

In some implementations, the server system for providing optimizedcontent management, the system comprising one or more processors; one ormore non-transitory computer-readable media storing instructionsexecutable by the one or more processors, for executing process stepssuch as: receiving content structures for the first service applicationand the second service application, wherein content structures include,for example the manner in which the menus are laid out or items arepriced; receiving, by content management application executing on apoint of sale device associated with a merchant, a first content updateor review for a first merchant application where the content updateincludes new menu items, deleted menu items, the first content updatecomprising updates made to the content, such as menu, for the firstservice application; sending, to the first service application, thecontent updates; and sending, to the second service application, thecontent updates similar to the content updates of the first serviceapplication.

Alternatively, the service provider includes generating, by the contentmanagement application, a configured structure of content based on theservice application and merchants. For example, a first menu with acertain order and pricing of items for a first service application, anda second menu with another orders and pricing of items for a secondservice application. Further, different items may be offered atdifferent locations and service applications.

FIG. 10 is an example interface 1000 of reservations on a consensusservice 132 at a service provider 102 or a merchant device 1008executing the consensus service. As shown in the figure, thereservations can be managed in real-time, where the reservations arereceived from multiple sources, such as reservation services such asYelp©, OpenTable ©, Resy©, and so on.

In some implementations, the service provider 102 allocates reservationsreceived for a merchant device 1002, which is configured to receivereservations from a plurality of reservation applications including afirst reservation application 1004-1 and a second reservationapplication 1004-2 via an API (not shown). The API may be used tofacilitate the payment service as an aggregator that, for exampleaggregates data from various reservation applications and thesethird-party apps send reservation information to the merchant using theexposed API. The consensus service, for example, can gather data andsequence the reservations accordingly. The consensus service can alsoleverage historical reservation information that the service learnsabout each reservation application and allocate portions of seats basedon what the service has learned, for example through machine learningmodels. For example, based on factors, such as frequency ofcancellations, average time of arrival of customers using thatapplication, order size, etc., the payment service can allocate seats.The service provider 102 receives multiple reservations and executes theconsensus service 132 to process the incoming reservations and schedulethem for the merchant based on customer profiles and/or merchantprofiles stored in the database 1006. The database 1006 storespreferences of the customers and merchants to indicate how thereservations can be configured to best match their preferences. Forexample, the consensus service 132 may move a reservation 1004-3 from6:30 to 7 PM depending on availability or past reservations made by thecustomer. Similarly, the reservation 1004-4 may be assigned to 8 PMdepending on availability of a particular seat or item. For example,some restaurants maintain a rotating menu and as such the serviceprovider may be provided, by user's consent, access to user's dietarypreferences. Accordingly, the reservation can be moved to a morepreferred spot without user or merchant intervention. This, the instantapplication discloses a method for receiving, by a payment service, suchas a service provider, and from the first reservation application, firstdata associated with an average number of reservations made using thefirst reservation application over a period of time; receiving, by thepayment service and from the second reservation application, second dataassociated with an average number of reservations made using the secondreservation application over the period of time; receiving, by thepayment service, data regarding available seats at the restaurant;allocating to the first reservation application, a first portion ofseats from the available seats, based at least on first data, whereinone or more users of the first reservation application can reserve seatsnot more than the first portion of seats; allocating, to the secondreservation application, a second portion of seats of the availableseats, based at least on the second data, wherein one or more users ofthe second reservation application can reserve seats not more than theother portion of seats; during reservation and in response to at leastone the one or more users being unable to reserve a seat using the firstreservation application, determining whether any seats are available onthe second reservation application; providing instructions totransitioning the customer device from an interface of the firstreservation application to the second reservation application; andreceiving an input from the one or more users indicating reservation ofthe seat in the restaurant using the second reservation application.

In some implementations, the server system for providing optimizedrestaurant reservation scheduling, the system comprising one or moreprocessors; one or more non-transitory computer-readable media storinginstructions executable by the one or more processors, wherein theinstructions program the one or more processors to perform actscomprising: receiving, by an reservation scheduling applicationexecuting on a point of sale device associated with a merchant, a firstreservation from a first customer-facing reservation application, thefirst reservation comprising one or more menu items to be prepared bythe merchant for delivery to an address provided by the firstcustomer-facing reservation application; sending, by the first deliveryapplication and to the computing device of the merchant, an estimatedpick-up time indicating the time when the first delivery applicationestimates arrival of a courier or the customer to pick-up the firstreservation; determining, based on past reservations involving the firstcustomer-facing application, a predicted pick-up time indicating anestimated time for when a courier or the customer is likely to pick-upthe first reservation; receiving, by the reservation schedulingapplication and from another customer, a second reservation from asecond customer-facing reservation application, the second reservationcomprising one or more menu to be prepared by the merchant; sending, bythe first delivery application and to the computing device of themerchant, an estimated pick-up time indicating the time when the seconddelivery application estimates arrival of the courier or the othercustomer to pick-up the second reservation; determining, based on pastreservations involving the second delivery application, a predictedpick-up time indicating the time when the courier or the customer islikely to pick-up the second reservation; generating, by the reservationscheduling application, a sequenced list of reservations based at leastin part on the predicted pick-up times of the first reservation and thesecond reservation; and sending the sequenced list of reservations to akitchen display system for preparation of the reservations as per thesequenced list.

Although embodiments have been described in language specific tostructural features and/or methodological acts, it is to be understoodthat the disclosure is not necessarily limited to the specific featuresor acts described. Rather, the specific features and acts are disclosedherein as illustrative forms of implementing the embodiments.

What is claimed is:
 1. One or more non-transitory computer-readablemedia storing executable instructions that, when executed by one or moreprocessors, cause the one or more processors to perform operationscomprising: exposing, by a service computing device of a serviceprovider that provides consensus services associated with orders for oneor more items offered by a merchant for acquisition, one or moreApplication Programming Interfaces (APIs) to provide an intermediatecomputing device of an additional service provider access to the servicecomputing device, wherein the additional service provider providesadditional services to the merchant, and wherein the intermediatecomputing device communicates with a merchant device of the merchant andacts as an intermediary for communications between the merchant deviceand the service computing device; exposing, by the service computingdevice, the one or more APIs to provide a computing device associatedwith one or more third party services access to the service computingdevice, wherein the one or more third party services are capable offacilitating one or more actions associated with the orders for one ormore items offered by the merchant; receiving, by the service computingdevice via the one or more APIs and from the intermediate computingdevice, a request to process an action of the one or more actionsassociated with the orders; generating, by the service computing device,an action proposal for facilitating the action associated with theorders; sending the action proposal to the intermediate computingdevice; and configuring, by the service computing device and via the oneor more APIs, a payment flow based on the action proposal, wherein thepayment flow is based on a distribution of sub-actions between the oneor more third party services and the merchant.
 2. The one or morenon-transitory computer-readable media of claim 1, wherein the one ormore actions include at least one of delivery of an item of the one ormore items, preparation of the item, cancelation of the item, deliveryof an order of the orders, preparation of the order, cancelation of theorder, merging of orders, splitting of the orders, making a reservationfor a customer, making an appointment for a customer, updating contentacross the one or more third party services, updating the item, orupdating the order.
 3. The one or more non-transitory computer-readablemedia of claim 1, wherein the action proposal is a delivery proposalthat indicates at least one of an estimated amount of time for deliveryof an item of the one or more items, an estimated pick-up time fordelivery of the item, or an estimated drop-off time for delivery of theitem.
 4. The one or more non-transitory computer-readable media of claim1, wherein exposing the one or more APIs comprises exposing the one ormore APIs to enable the service provider to facilitate delivery of atleast one item of the one or more items offered by the merchant foracquisition.
 5. The one or more non-transitory computer-readable mediaof claim 4, wherein the action comprises delivery of an item of the oneor more items and wherein the operations further comprise: receiving, bythe service computing device via the one or more APIs and from theintermediate computing device, a request for a delivery status of theitem; receiving, by the service computing device, location informationfor a third party service device associated with a courier of a thirdparty service, of the one or more third party services, assigned todeliver the item; determining, by the service computing device, thedelivery status of the item by the courier; and sending, by the servicecomputing device and to the intermediate computing device, the status ofdelivery of the item.
 6. The one or more non-transitorycomputer-readable media of claim 5, wherein the item comprises a firstitem, wherein the third party service comprises a first third partyservice, wherein the third party service device comprises a first thirdparty service device, and wherein the operations further comprise:receiving, by the service computing device via the one or more APIs, arequest to deliver a second item, the request to deliver the second itembeing configured with a merchant application that facilitatesacquisition of items with customers, the request to deliver the seconditem indicating a location of delivery for the second item; identifyinga second third party service, of the one or more third party services,to transport the second item based at least in part on a location of thesecond third party service; and sending a communication to a secondthird party service device that is associated with the second thirdparty service requesting that the second third party service deliver thesecond item to the location of delivery for the second item.
 7. The oneor more non-transitory computer-readable media of claim 1, wherein theoperations further comprise: obtaining training data with respect tocurrent and past actions performed by merchants and the one or morethird party services; and training a machine learning model, based onthe training data, to generate the action proposal.
 8. A system forproviding optimized order scheduling, the system comprising: one or moreprocessors; one or more non-transitory computer-readable media storinginstructions executable by the one or more processors, wherein theinstructions program the one or more processors to perform actscomprising: exposing, by a service computing device of a serviceprovider that provides consensus services associated with orders for oneor more items offered by a merchant for acquisition, one or moreApplication Programming Interfaces (APIs) that provide an intermediatecomputing device of an additional service provider access to the servicecomputing device, wherein the additional service provider providesadditional services to the merchant, and wherein the intermediatecomputing device communicates with a merchant device of the merchant andacts as an intermediary for communications between the merchant deviceand the service computing device; exposing, by the service computingdevice, the one or more APIs to provide a computing device associatedwith one or more third party services access to the service computingdevice, wherein the one or more third party services are capable offacilitating one or more actions associated with the orders for one ormore items offered by the merchant; receiving, by the service computingdevice via the one or more APIs and from the intermediate computingdevice, a request to process an action of the one or more actionsassociated with the orders; generating, by the service computing device,an action proposal for facilitating the action associated with theorders; and sending the action proposal to the computing device.
 9. Thesystem of claim 8, wherein the one or more actions comprise preparationof a plurality of orders submitted by one or more customers of themerchant, wherein the plurality of orders comprise a plurality of itemsof the one or more items offered by a merchant for acquisition.
 10. Thesystem of claim 9, wherein the action proposal comprises providing aproposal for a preparation sequence of the plurality of items.
 11. Thesystem of claim 10, the acts further comprising: modifying thepreparation sequence based at least in part on availability of theplurality of items.
 12. The system of claim 10, the acts furthercomprising: sending the preparation sequence to a kitchen display systemassociated with the merchant.
 13. The system of claim 8, the actsfurther comprising: configuring, by the service provider and via the oneor more APIs, a payment flow based on the action proposal, wherein thepayment flow is based on a distribution of sub-actions between the oneor more third party services and the merchant.
 14. A method comprising:exposing, by a service computing device of a service provider thatprovides consensus services associated with orders for one or more itemsoffered by a merchant for acquisition, one or more ApplicationProgramming Interfaces (APIs) to provide an intermediate computingdevice of an additional service provider access to the service computingdevice, wherein the additional service provider provides additionalservices to the merchant, and wherein the intermediate computing devicecommunicates with a merchant device of the merchant and acts as anintermediary for communications between the merchant device and theservice computing device; exposing, by the service computing device, theone or more APIs to provide a computing device associated with one ormore third party services access to the service computing device,wherein the one or more third party services are capable of facilitatingone or more actions associated with the orders for one or more itemsoffered by the merchant; receiving, by the service computing device viathe one or more APIs and from the intermediate computing device, arequest to process an action of the one or more actions associated withthe orders; generating, by the service computing device, an actionproposal for facilitating the action associated with the orders; sendingthe action proposal to the intermediate computing device; andconfiguring, by the service computing device and via the one or moreAPIs, a payment flow based on the action proposal, wherein the paymentflow is based on a distribution of sub-actions between the one or morethird party services and the merchant.
 15. The method of claim 14,wherein the one or more actions include at least one of delivery of anitem of the one or more items, preparation of the item, cancelation ofthe item, delivery of an order of the orders, preparation of the order,cancelation of the order, merging of orders, splitting of the orders,making a reservation for a customer, making an appointment for thecustomer, updating content across the one or more third party services,updating the item, or updating the order.
 16. The method of claim 14,wherein the action proposal comprises a delivery proposal that indicatesat least one of an estimated amount of time for delivery of an item ofthe one or more items, an estimated pick-up time for delivery of theitem, or an estimated drop-off time for delivery of the item.
 17. Themethod of claim 14, wherein exposing the one or more APIs comprisesexposing the one or more APIs to enable the service computing device tofacilitate delivery of at least one item of the one or more itemsoffered by the merchant for acquisition.
 18. The method of claim 14,wherein the action proposal is a delivery proposal that indicates thecost of delivery.
 19. The method of claim 14, wherein the one or moreactions comprises merging of a plurality of orders associated withcustomers of the merchant, and wherein the steps of the action comprisepreparation of individual items of the plurality of orders.
 20. Themethod of claim 19, further comprising providing consensus when theplurality of orders are placed at substantially the same time.